Commit 9388e9a1 authored by Anchal  Gupta's avatar Anchal Gupta Committed by Jacob Rockowitz
Browse files

Issue #3318891 by Anchal_gupta: Remove duplicates in this character class in...

Issue #3318891 by Anchal_gupta: Remove duplicates in this character class in WebformHandlerRemotePostTest.php
parent 91006e9b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.
@@ -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] . '.');

    /* ********************************************************************** */