diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-04-29 12:32:26 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-05-01 09:26:12 +0200 |
commit | 7fa844a34983f9929348e70ddd408cf6ba5811b6 (patch) | |
tree | eb810ee19ad828e3300cf0f740146578264a42d5 | |
parent | 719ba257d3d6495eaa0f4ea749b5aa4740f94dda (diff) | |
download | wallabag-7fa844a34983f9929348e70ddd408cf6ba5811b6.tar.gz wallabag-7fa844a34983f9929348e70ddd408cf6ba5811b6.tar.zst wallabag-7fa844a34983f9929348e70ddd408cf6ba5811b6.zip |
Fix tests (for real this time)
-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() |