diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-09-07 07:16:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-07 07:16:26 +0200 |
commit | f6d042f56d1f1269652e3ffee0722bbb6f842164 (patch) | |
tree | 149187e619048e845f7d4ea12ac3c75b878111f2 /tests/Wallabag/CoreBundle/Controller/RssControllerTest.php | |
parent | 78b36d4dbeedd60c5aa25dbd30a2a2d41a658f94 (diff) | |
parent | 9c4a7388da9a250b30ff83c380581fe146af5bb1 (diff) | |
download | wallabag-f6d042f56d1f1269652e3ffee0722bbb6f842164.tar.gz wallabag-f6d042f56d1f1269652e3ffee0722bbb6f842164.tar.zst wallabag-f6d042f56d1f1269652e3ffee0722bbb6f842164.zip |
Merge pull request #3309 from wallabag/fix-multiple-tag-search
Multiple tag search, which was broken from API
Diffstat (limited to 'tests/Wallabag/CoreBundle/Controller/RssControllerTest.php')
-rw-r--r-- | tests/Wallabag/CoreBundle/Controller/RssControllerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/RssControllerTest.php b/tests/Wallabag/CoreBundle/Controller/RssControllerTest.php index 6167fe2d..c6ca4937 100644 --- a/tests/Wallabag/CoreBundle/Controller/RssControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/RssControllerTest.php | |||
@@ -184,13 +184,13 @@ class RssControllerTest extends WallabagCoreTestCase | |||
184 | $em->flush(); | 184 | $em->flush(); |
185 | 185 | ||
186 | $client = $this->getClient(); | 186 | $client = $this->getClient(); |
187 | $client->request('GET', '/admin/SUPERTOKEN/tags/foo-bar.xml'); | 187 | $client->request('GET', '/admin/SUPERTOKEN/tags/foo.xml'); |
188 | 188 | ||
189 | $this->assertSame(200, $client->getResponse()->getStatusCode()); | 189 | $this->assertSame(200, $client->getResponse()->getStatusCode()); |
190 | 190 | ||
191 | $this->validateDom($client->getResponse()->getContent(), 'tag (foo bar)', 'tags/foo-bar'); | 191 | $this->validateDom($client->getResponse()->getContent(), 'tag (foo)', 'tags/foo'); |
192 | 192 | ||
193 | $client->request('GET', '/admin/SUPERTOKEN/tags/foo-bar.xml?page=3000'); | 193 | $client->request('GET', '/admin/SUPERTOKEN/tags/foo.xml?page=3000'); |
194 | $this->assertSame(302, $client->getResponse()->getStatusCode()); | 194 | $this->assertSame(302, $client->getResponse()->getStatusCode()); |
195 | } | 195 | } |
196 | } | 196 | } |