diff options
author | Kevin Decherf <kevin@kdecherf.com> | 2016-11-26 19:52:50 +0100 |
---|---|---|
committer | Kevin Decherf <kevin@kdecherf.com> | 2016-11-26 19:52:50 +0100 |
commit | 00fc2b44f4be1a489b1569e337e4794f042fc855 (patch) | |
tree | d1519ec57d09f74aaf1553d7e77c0ec5beaac2e8 /tests/Wallabag/CoreBundle/Controller | |
parent | ebe50a85fbf3ce6b83efa7da191e10cd30edb07c (diff) | |
download | wallabag-00fc2b44f4be1a489b1569e337e4794f042fc855.tar.gz wallabag-00fc2b44f4be1a489b1569e337e4794f042fc855.tar.zst wallabag-00fc2b44f4be1a489b1569e337e4794f042fc855.zip |
Enforce lowercase on domain name filter
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Diffstat (limited to 'tests/Wallabag/CoreBundle/Controller')
-rw-r--r-- | tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php index 952e8957..c347cca5 100644 --- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | |||
@@ -725,6 +725,15 @@ class EntryControllerTest extends WallabagCoreTestCase | |||
725 | $crawler = $client->submit($form, $data); | 725 | $crawler = $client->submit($form, $data); |
726 | $this->assertCount(5, $crawler->filter('div[class=entry]')); | 726 | $this->assertCount(5, $crawler->filter('div[class=entry]')); |
727 | 727 | ||
728 | $crawler = $client->request('GET', '/unread/list'); | ||
729 | $form = $crawler->filter('button[id=submit-filter]')->form(); | ||
730 | $data = [ | ||
731 | 'entry_filter[domainName]' => 'dOmain', | ||
732 | ]; | ||
733 | |||
734 | $crawler = $client->submit($form, $data); | ||
735 | $this->assertCount(5, $crawler->filter('div[class=entry]')); | ||
736 | |||
728 | $form = $crawler->filter('button[id=submit-filter]')->form(); | 737 | $form = $crawler->filter('button[id=submit-filter]')->form(); |
729 | $data = [ | 738 | $data = [ |
730 | 'entry_filter[domainName]' => 'wallabag', | 739 | 'entry_filter[domainName]' => 'wallabag', |