Skip to content

Commit

Permalink
Fix unit tests and version change
Browse files Browse the repository at this point in the history
  • Loading branch information
tarishah committed Oct 25, 2016
1 parent e766916 commit 8069ed9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PayWithAmazon/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

class Client implements ClientInterface, LoggerAwareInterface
{
const MWS_CLIENT_VERSION = '2.0.4';
const MWS_CLIENT_VERSION = '2.1.0';
const SERVICE_VERSION = '2013-01-01';
const MAX_ERROR_RETRY = 3;

Expand Down
2 changes: 1 addition & 1 deletion UnitTests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ public function testCharge()
$apiCallParams = array('amazon_reference_id' => '');
$client->charge($apiCallParams);
} catch (\Exception $expected) {
$this->assertRegExp('/amazon_reference_id is null and is a required parameter./i', strval($expected));
$this->assertRegExp('/key amazon_order_reference_id or amazon_billing_agreement_id is null and is a required parameter./i', strval($expected));
}

try {
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "amzn/login-and-pay-with-amazon-sdk-php",
"type": "library",
"description": "Pay with Amazon SDK",
"version": "2.1.0",
"keywords": [
"amazon",
"pay",
Expand All @@ -27,4 +28,4 @@
"ext-curl": "*",
"php": ">=5.3.0"
}
}
}

0 comments on commit 8069ed9

Please sign in to comment.