]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
Added shortcut
[github/wallabag/wallabag.git] / tests / Wallabag / CoreBundle / Controller / EntryControllerTest.php
index b248b1781c66d1f1536abffc3bb12af1ede6fa56..952e895741d84350e4cdcd8245169d396ba79683 100644 (file)
@@ -1034,7 +1034,7 @@ class EntryControllerTest extends WallabagCoreTestCase
 
         $crawler = $client->submit($form, $data);
 
-        $this->assertCount(4, $crawler->filter('div[class=entry]'));
+        $this->assertCount(5, $crawler->filter('div[class=entry]'));
 
         // Search on starred list
         $crawler = $client->request('GET', '/starred/list');
@@ -1078,7 +1078,7 @@ class EntryControllerTest extends WallabagCoreTestCase
 
         $form = $crawler->filter('form[name=search]')->form();
         $data = [
-            'search_entry[term]' => 'pocket',
+            'search_entry[term]' => 'wxcvbnqsdf', // a string not available in the database
         ];
 
         $crawler = $client->submit($form, $data);