Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Paweł Bukowski committed Nov 19, 2017
1 parent 8c0fc87 commit 79a6289
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/ApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ function testGetUri()
{
$api = new Allegro\REST\Api('eggs', 'spam', 'ham', 'beans');

$this->assertEquals('https://allegroapi.io/', $api->getUri());
$this->assertEquals('https://allegroapi.io', $api->getUri());

$this->assertEquals('https://allegroapi.io/categories/',
$this->assertEquals('https://allegroapi.io/categories',
$api->categories->getUri());

$this->assertEquals('https://allegroapi.io/categories/12/',
$this->assertEquals('https://allegroapi.io/categories/12',
$api->categories(12)->getUri());
}

Expand Down

0 comments on commit 79a6289

Please sign in to comment.