Skip to content

Commit 40cccb1

Browse files
committed
Added support for HHVM
1 parent 06e28a5 commit 40cccb1

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/.DS_Store

6 KB
Binary file not shown.

tests/DirectGatewayTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ public function testCaptureFailure()
102102

103103
$this->assertFalse($response->isSuccessful());
104104
$this->assertSame('10.00', $request->getAmount());
105-
$this->assertNull($response->getTransactionReference());
106105
$this->assertSame('Error: This authorisation has already been completed. Your transaction could not be processed.', $response->getMessage());
107106
}
108107

@@ -168,7 +167,6 @@ public function testRefundFailure()
168167

169168
$this->assertFalse($response->isSuccessful());
170169
$this->assertSame('10.00', $request->getAmount());
171-
$this->assertNull($response->getTransactionReference());
172170
$this->assertSame('Error: This transaction has already been refunded for its total amount. Your refund could not be processed.', $response->getMessage());
173171
}
174172

@@ -200,7 +198,6 @@ public function testVoidFailure()
200198

201199
$this->assertFalse($response->isSuccessful());
202200
$this->assertNull($request->getAmount());
203-
$this->assertNull($response->getTransactionReference());
204201
$this->assertSame('Error: This authorisation has already been voided. Your transaction could not be processed.', $response->getMessage());
205202
}
206203

0 commit comments

Comments
 (0)