diff --git a/tests/MellatTest.php b/tests/MellatTest.php index 06d7758..c9e83a0 100644 --- a/tests/MellatTest.php +++ b/tests/MellatTest.php @@ -20,7 +20,7 @@ public function test_valid_payment_request() { $response = $this->mellat->request(1000, '/'); $this->assertEquals($response['token'], '__SAMPLE__TOKEN__'); - $this->assertContains('__SAMPLE__TOKEN__', $this->mellat->redirectScript()); + $this->assertStringContainsString('__SAMPLE__TOKEN__', $this->mellat->redirectScript()); } public function test_valid_verify_request() diff --git a/tests/wsdl/pgw.xml b/tests/wsdl/pgw.xml index a8a39c5..5ca162b 100644 --- a/tests/wsdl/pgw.xml +++ b/tests/wsdl/pgw.xml @@ -21,6 +21,15 @@ + + + + + + + + + @@ -48,12 +57,12 @@ - + - + - +