diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-18 19:21:31 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-19 20:05:16 +0100 |
commit | 995c204428dd6be04d2bff1d5e17f3e95268f44d (patch) | |
tree | 1ac2c526e54ddaf1678184f93d4e10a7a015349c /tests/Wallabag/CoreBundle/Controller | |
parent | 32f455c1317bf536aea63147d2c5074ae7425d42 (diff) | |
download | wallabag-995c204428dd6be04d2bff1d5e17f3e95268f44d.tar.gz wallabag-995c204428dd6be04d2bff1d5e17f3e95268f44d.tar.zst wallabag-995c204428dd6be04d2bff1d5e17f3e95268f44d.zip |
Added shortcut
Diffstat (limited to 'tests/Wallabag/CoreBundle/Controller')
-rw-r--r-- | tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php index b248b178..952e8957 100644 --- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | |||
@@ -1034,7 +1034,7 @@ class EntryControllerTest extends WallabagCoreTestCase | |||
1034 | 1034 | ||
1035 | $crawler = $client->submit($form, $data); | 1035 | $crawler = $client->submit($form, $data); |
1036 | 1036 | ||
1037 | $this->assertCount(4, $crawler->filter('div[class=entry]')); | 1037 | $this->assertCount(5, $crawler->filter('div[class=entry]')); |
1038 | 1038 | ||
1039 | // Search on starred list | 1039 | // Search on starred list |
1040 | $crawler = $client->request('GET', '/starred/list'); | 1040 | $crawler = $client->request('GET', '/starred/list'); |
@@ -1078,7 +1078,7 @@ class EntryControllerTest extends WallabagCoreTestCase | |||
1078 | 1078 | ||
1079 | $form = $crawler->filter('form[name=search]')->form(); | 1079 | $form = $crawler->filter('form[name=search]')->form(); |
1080 | $data = [ | 1080 | $data = [ |
1081 | 'search_entry[term]' => 'pocket', | 1081 | 'search_entry[term]' => 'wxcvbnqsdf', // a string not available in the database |
1082 | ]; | 1082 | ]; |
1083 | 1083 | ||
1084 | $crawler = $client->submit($form, $data); | 1084 | $crawler = $client->submit($form, $data); |