Loading tests/src/Functional/Handler/WebformHandlerRemotePostTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -201,7 +201,7 @@ options: $this->assertNull($sid); // Get confirmation number from JSON packet. preg_match('/"confirmation_number":"([a-zA-z0-9]+)"/', $this->getSession()->getPage()->getContent(), $match); preg_match('/"confirmation_number":"([a-zA-Z0-9]+)"/', $this->getSession()->getPage()->getContent(), $match); $assert_session->responseContains('Your confirmation number is ' . $match[1] . '.'); // Set remote post error URL to homepage. Loading Loading @@ -261,7 +261,7 @@ options: $assert_session->responseContains("message: 'Processed completed request.'"); // Get confirmation number from JSON packet. preg_match('/"confirmation_number":"([a-zA-z0-9]+)"/', $this->getSession()->getPage()->getContent(), $match); preg_match('/"confirmation_number":"([a-zA-Z0-9]+)"/', $this->getSession()->getPage()->getContent(), $match); $assert_session->responseContains('Your confirmation number is ' . $match[1] . '.'); /* ********************************************************************** */ Loading Loading
tests/src/Functional/Handler/WebformHandlerRemotePostTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -201,7 +201,7 @@ options: $this->assertNull($sid); // Get confirmation number from JSON packet. preg_match('/"confirmation_number":"([a-zA-z0-9]+)"/', $this->getSession()->getPage()->getContent(), $match); preg_match('/"confirmation_number":"([a-zA-Z0-9]+)"/', $this->getSession()->getPage()->getContent(), $match); $assert_session->responseContains('Your confirmation number is ' . $match[1] . '.'); // Set remote post error URL to homepage. Loading Loading @@ -261,7 +261,7 @@ options: $assert_session->responseContains("message: 'Processed completed request.'"); // Get confirmation number from JSON packet. preg_match('/"confirmation_number":"([a-zA-z0-9]+)"/', $this->getSession()->getPage()->getContent(), $match); preg_match('/"confirmation_number":"([a-zA-Z0-9]+)"/', $this->getSession()->getPage()->getContent(), $match); $assert_session->responseContains('Your confirmation number is ' . $match[1] . '.'); /* ********************************************************************** */ Loading