diff --git a/composer.json b/composer.json index cadf8db..ab4a504 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/tests/Fixture.php b/tests/Fixture.php index 2421838..c3e646d 100644 --- a/tests/Fixture.php +++ b/tests/Fixture.php @@ -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',