aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2020-04-26 11:24:40 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2020-04-28 10:14:47 +0200
commit82cee42b602d66b788b4203b740ebad16d329e2a (patch)
treed7ce2c2804d85929e7a6e4209e9f28fd584e4f4c /tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
parentf5c1ae2dd8ec0b1aabdefb78815163c1223aacba (diff)
downloadwallabag-82cee42b602d66b788b4203b740ebad16d329e2a.tar.gz
wallabag-82cee42b602d66b788b4203b740ebad16d329e2a.tar.zst
wallabag-82cee42b602d66b788b4203b740ebad16d329e2a.zip
Fixed tests againsort-entries
Diffstat (limited to 'tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php')
-rw-r--r--tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
index 765c108e..502ab5f9 100644
--- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
+++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
@@ -1164,7 +1164,7 @@ class EntryControllerTest extends WallabagCoreTestCase
1164 1164
1165 $results = array_values(array_unique($matches[0])); 1165 $results = array_values(array_unique($matches[0]));
1166 1166
1167 $ids = [5, 8, 7, 9]; 1167 $ids = [8, 7, 9, 5];
1168 1168
1169 foreach ($results as $key => $result) { 1169 foreach ($results as $key => $result) {
1170 $this->assertSame('test title entry' . $ids[$key], $result); 1170 $this->assertSame('test title entry' . $ids[$key], $result);
@@ -1230,7 +1230,7 @@ class EntryControllerTest extends WallabagCoreTestCase
1230 1230
1231 $results = array_values(array_unique($matches[0])); 1231 $results = array_values(array_unique($matches[0]));
1232 1232
1233 $ids = [6, 8, 7, 9]; 1233 $ids = [8, 7, 9, 6];
1234 1234
1235 foreach ($results as $key => $result) { 1235 foreach ($results as $key => $result) {
1236 $this->assertSame('test title entry' . $ids[$key], $result); 1236 $this->assertSame('test title entry' . $ids[$key], $result);