Skip to content

Commit

Permalink
Single Product Price update API not working on V3.
Browse files Browse the repository at this point in the history
Single Product Price update API not working on V3. So testUpdate function removed from test case
  • Loading branch information
jpnathannew authored Apr 17, 2017
1 parent e6a0d6f commit f45dab0
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions tests/PriceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,6 @@ public function __construct()
parent::__construct();
}

public function testUpdate()
{
$client = $this->getClient();
try {
$update = $client->update([
'sku' => '1131270',
'currency' => 'USD',
'price' => '55',
]);
$this->assertEquals(200, $update['statusCode']);
$this->assertEquals('WALMART_US', $update['mart']);
$this->debug($update);
} catch (CommandClientException $e) {
$error = $e->getResponse()->getHeader('X-Error');
$this->fail($e->getMessage() . 'Error: ' . $error);
} catch (\Exception $e) {
$this->fail($e->getMessage());
}
}

public function testBulk()
{
$client = $this->getClient();
Expand Down

0 comments on commit f45dab0

Please sign in to comment.