diff options
Diffstat (limited to 'tests/Wallabag')
-rw-r--r-- | tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php b/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php index b732a8be..88a5be93 100644 --- a/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php +++ b/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php | |||
@@ -774,7 +774,7 @@ class EntryRestControllerTest extends WallabagApiTestCase | |||
774 | { | 774 | { |
775 | $list = [ | 775 | $list = [ |
776 | 'http://www.lemonde.fr/musiques/article/2017/04/23/loin-de-la-politique-le-printemps-de-bourges-retombe-en-enfance_5115862_1654986.html', | 776 | 'http://www.lemonde.fr/musiques/article/2017/04/23/loin-de-la-politique-le-printemps-de-bourges-retombe-en-enfance_5115862_1654986.html', |
777 | 'http://0.0.0.0/entry1', | 777 | 'http://0.0.0.0/entry2', |
778 | ]; | 778 | ]; |
779 | 779 | ||
780 | $this->client->request('POST', '/api/entries/lists?urls='.json_encode($list)); | 780 | $this->client->request('POST', '/api/entries/lists?urls='.json_encode($list)); |
@@ -787,7 +787,7 @@ class EntryRestControllerTest extends WallabagApiTestCase | |||
787 | $this->assertEquals('http://www.lemonde.fr/musiques/article/2017/04/23/loin-de-la-politique-le-printemps-de-bourges-retombe-en-enfance_5115862_1654986.html', $content[0]['url']); | 787 | $this->assertEquals('http://www.lemonde.fr/musiques/article/2017/04/23/loin-de-la-politique-le-printemps-de-bourges-retombe-en-enfance_5115862_1654986.html', $content[0]['url']); |
788 | 788 | ||
789 | $this->assertInternalType('int', $content[1]['entry']); | 789 | $this->assertInternalType('int', $content[1]['entry']); |
790 | $this->assertEquals('http://0.0.0.0/entry1', $content[1]['url']); | 790 | $this->assertEquals('http://0.0.0.0/entry2', $content[1]['url']); |
791 | } | 791 | } |
792 | 792 | ||
793 | public function testDeleteEntriesListAction() | 793 | public function testDeleteEntriesListAction() |