Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5559b80

Browse files
author
Igor Kosteski
committed
Unit test fix
1 parent b8b592c commit 5559b80

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/Message/AbstractRequest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ protected function getBaseData()
8686
$data['vpc_Merchant'] = $this->getMerchantId();
8787
$data['vpc_AccessCode'] = $this->getMerchantAccessCode();
8888
$data['vpc_Version'] = '1';
89-
9089
$data['vpc_Command'] = $this->action;
9190
$data['vpc_Amount'] = $this->getAmountInteger();
9291
$data['vpc_MerchTxnRef'] = $this->getTransactionId();

tests/Message/ThreePartyRefundRequestTest.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ public function testSignature()
1717
array(
1818
'amount' => '12.00',
1919
'transactionId' => 123,
20-
21-
'localeCode' => 'en',
2220

2321
'merchantId' => '123',
2422
'merchantAccessCode' => '123',
@@ -33,7 +31,7 @@ public function testSignature()
3331

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

36-
$this->assertSame('F67A5B37393F0903E228C27DD3FF5704DAD672137108BE78E0A9219F229733B7', $data['vpc_SecureHash']);
34+
$this->assertSame('80E8AD6C582431F9C8A55C9645EE2F05BA70D178EB0A85E7394331DC09B61875', $data['vpc_SecureHash']);
3735
}
3836

3937
/**
@@ -48,8 +46,6 @@ public function testRefund()
4846
array(
4947
'amount' => '12.00',
5048
'transactionId' => 123,
51-
52-
'localeCode' => 'en',
5349

5450
'merchantId' => '123',
5551
'merchantAccessCode' => '123',

0 commit comments

Comments
 (0)