From 9be8e71318343c4387ebbb8a27864617eb5b0aa3 Mon Sep 17 00:00:00 2001 From: Del Date: Thu, 25 Aug 2016 12:19:55 +0700 Subject: [PATCH] Remove capture message --- tests/SoapGatewayTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/SoapGatewayTest.php b/tests/SoapGatewayTest.php index c82bc88..ee5da65 100644 --- a/tests/SoapGatewayTest.php +++ b/tests/SoapGatewayTest.php @@ -194,7 +194,7 @@ public function testCaptureSuccess() $result = new \stdClass(); $result->State = 2; $result->Status = 1; - $result->Message = 'Approved BankAuth: 826914443 CvvResult: M CVVCodeReason: CVV2 Match'; + $result->Message = ''; $result->Technical = ''; $result->TransactionID = 'f0e5b9f4-ec28-4ff2-aaed-195ec71aefcc'; @@ -214,7 +214,7 @@ public function testCaptureSuccess() $this->assertTrue($response->isSuccessful()); $this->assertFalse($response->isRedirect()); $this->assertEquals('f0e5b9f4-ec28-4ff2-aaed-195ec71aefcc', $response->getTransactionReference()); - $this->assertSame('Approved BankAuth: 826914443 CvvResult: M CVVCodeReason: CVV2 Match', $response->getMessage()); + $this->assertEmpty($response->getMessage()); } public function testRefundSuccessNoAmount()