Skip to content

Commit 7572880

Browse files
committed
PHP 5.3 test fixes
1 parent 24a7d3a commit 7572880

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

tests/Omnipay/Neteller/Message/FetchTransactionRequestTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ public function testGetData()
4444

4545
public function testSendDataSuccess()
4646
{
47-
$this->setMockHttpResponse([
47+
$this->setMockHttpResponse(array(
4848
'OAuth2TokenSuccess.txt',
4949
'FetchTransactionSuccess.txt'
50-
]);
50+
));
5151

5252
$data = $this->request->getData();
5353
$response = $this->request->sendData($data);
@@ -56,10 +56,10 @@ public function testSendDataSuccess()
5656

5757
public function testSendDataFailure()
5858
{
59-
$this->setMockHttpResponse([
59+
$this->setMockHttpResponse(array(
6060
'OAuth2TokenSuccess.txt',
6161
'FetchTransactionFailure.txt'
62-
]);
62+
));
6363

6464
$data = $this->request->getData();
6565
$response = $this->request->sendData($data);

tests/Omnipay/Neteller/Message/PayoutRequestTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ public function testGetData()
3636

3737
public function testSendDataSuccess()
3838
{
39-
$this->setMockHttpResponse([
39+
$this->setMockHttpResponse(array(
4040
'OAuth2TokenSuccess.txt',
4141
'PayoutSuccess.txt'
42-
]);
42+
));
4343

4444
$data = $this->request->getData();
4545
$response = $this->request->sendData($data);
@@ -48,10 +48,10 @@ public function testSendDataSuccess()
4848

4949
public function testSendDataFailure()
5050
{
51-
$this->setMockHttpResponse([
51+
$this->setMockHttpResponse(array(
5252
'OAuth2TokenSuccess.txt',
5353
'PayoutFailure.txt'
54-
]);
54+
));
5555

5656
$data = $this->request->getData();
5757
$response = $this->request->sendData($data);

tests/Omnipay/Neteller/Message/PurchaseRequestTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ public function testGetData()
3636

3737
public function testSendDataSuccess()
3838
{
39-
$this->setMockHttpResponse([
39+
$this->setMockHttpResponse(array(
4040
'OAuth2TokenSuccess.txt',
4141
'PurchaseSuccess.txt'
42-
]);
42+
));
4343

4444
$data = $this->request->getData();
4545
$response = $this->request->sendData($data);
@@ -48,10 +48,10 @@ public function testSendDataSuccess()
4848

4949
public function testSendDataFailure()
5050
{
51-
$this->setMockHttpResponse([
51+
$this->setMockHttpResponse(array(
5252
'OAuth2TokenSuccess.txt',
5353
'PurchaseFailure.txt'
54-
]);
54+
));
5555

5656
$data = $this->request->getData();
5757
$response = $this->request->sendData($data);

0 commit comments

Comments
 (0)