]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fix tests (for real this time)
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 29 Apr 2017 10:32:26 +0000 (12:32 +0200)
committerNicolas LÅ“uillet <nicolas@loeuillet.org>
Mon, 1 May 2017 07:26:12 +0000 (09:26 +0200)
tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php

index b732a8be7c8f2a92e83f02beea38479263525080..88a5be93b66d2adbf987e05b8a1a692c7de2dc3a 100644 (file)
@@ -774,7 +774,7 @@ class EntryRestControllerTest extends WallabagApiTestCase
     {
         $list = [
             'http://www.lemonde.fr/musiques/article/2017/04/23/loin-de-la-politique-le-printemps-de-bourges-retombe-en-enfance_5115862_1654986.html',
-            'http://0.0.0.0/entry1',
+            'http://0.0.0.0/entry2',
         ];
 
         $this->client->request('POST', '/api/entries/lists?urls='.json_encode($list));
@@ -787,7 +787,7 @@ class EntryRestControllerTest extends WallabagApiTestCase
         $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']);
 
         $this->assertInternalType('int', $content[1]['entry']);
-        $this->assertEquals('http://0.0.0.0/entry1', $content[1]['url']);
+        $this->assertEquals('http://0.0.0.0/entry2', $content[1]['url']);
     }
 
     public function testDeleteEntriesListAction()