Skip to content

Commit

Permalink
feat: add support for gizzle 6 and 7
Browse files Browse the repository at this point in the history
-removed ocular
- fix typo in fixtures
  • Loading branch information
alphaolomi committed Oct 19, 2020
1 parent 5f045af commit c2bb0ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@
],
"require": {
"php": "^7.1",
"guzzlehttp/guzzle": "^7.0",
"guzzlehttp/guzzle": "^6.0|^7.0",
"phpseclib/phpseclib": "^2.0",
"ext-json": "*",
"ext-openssl": "*"
},
"require-dev": {
"phpunit/phpunit": "^7.0",
"scrutinizer/ocular": "^1.7"
"phpunit/phpunit": "^7.0"
},
"autoload": {
"psr-4": {
Expand Down
6 changes: 3 additions & 3 deletions tests/Fixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ class Fixture
'input_TransactionReference' => 'odfdferre',
'input_PurchasedItemsDesc' => 'Test Two Item'
];
public static $data_b2c = [
'input_ReversalAmount' => 12.12,
public static $data_reversal = [
'input_ReversalAmount' => 1212,
'input_TransactionID' => 'odfdferre',
'input_Country' => 'TZN',
'input_ServiceProviderCode' => '000000',
'input_ThirdPartyConversationID' => 'asv02e5958774f7ab228d83d0d689761',
];

public static $data_reversal = [
public static $data_b2c = [
'input_Amount' => 5030,
'input_Country' => 'TZN',
'input_Currency' => 'TZS',
Expand Down

0 comments on commit c2bb0ac

Please sign in to comment.