Skip to content

Commit

Permalink
Fix php5.3 compatibility in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
georgegg committed Feb 9, 2018
1 parent d12f6a1 commit e4031da
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/ModificationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ public function testAdjustDecreaseModification()
// initialize service
$service = new Service\Modification($client);

$params = [
$params = array(
"merchantAccount" => $this->_merchantAccount,
"modificationAmount" => ['currency' => 'EUR', 'value' => '750'],
"modificationAmount" => array('currency' => 'EUR', 'value' => '750'),
"reference" => $pspReference.'_adjustAuthorisation',
"originalReference" => $pspReference
];
);

$result = $service->adjustAuthorisation($params);

Expand All @@ -107,12 +107,12 @@ public function testAdjustIncreaseModification()
// initialize service
$service = new Service\Modification($client);

$params = [
$params = array(
"merchantAccount" => $this->_merchantAccount,
"modificationAmount" => ['currency' => 'EUR', 'value' => '1600'],
"modificationAmount" => array('currency' => 'EUR', 'value' => '1600'),
"reference" => $pspReference.'_adjustAuthorisation',
"originalReference" => $pspReference
];
);

$result = $service->adjustAuthorisation($params);

Expand Down

0 comments on commit e4031da

Please sign in to comment.