Skip to content

Commit

Permalink
Unit test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Kosteski committed May 14, 2017
1 parent b8b592c commit 5559b80
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion src/Message/AbstractRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ protected function getBaseData()
$data['vpc_Merchant'] = $this->getMerchantId();
$data['vpc_AccessCode'] = $this->getMerchantAccessCode();
$data['vpc_Version'] = '1';

$data['vpc_Command'] = $this->action;
$data['vpc_Amount'] = $this->getAmountInteger();
$data['vpc_MerchTxnRef'] = $this->getTransactionId();
Expand Down
6 changes: 1 addition & 5 deletions tests/Message/ThreePartyRefundRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ public function testSignature()
array(
'amount' => '12.00',
'transactionId' => 123,

'localeCode' => 'en',

'merchantId' => '123',
'merchantAccessCode' => '123',
Expand All @@ -33,7 +31,7 @@ public function testSignature()

$data = $this->request->getData();

$this->assertSame('F67A5B37393F0903E228C27DD3FF5704DAD672137108BE78E0A9219F229733B7', $data['vpc_SecureHash']);
$this->assertSame('80E8AD6C582431F9C8A55C9645EE2F05BA70D178EB0A85E7394331DC09B61875', $data['vpc_SecureHash']);
}

/**
Expand All @@ -48,8 +46,6 @@ public function testRefund()
array(
'amount' => '12.00',
'transactionId' => 123,

'localeCode' => 'en',

'merchantId' => '123',
'merchantAccessCode' => '123',
Expand Down

0 comments on commit 5559b80

Please sign in to comment.