diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-08-09 22:47:28 +0200 |
---|---|---|
committer | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-08-09 22:47:28 +0200 |
commit | 47cadf36c8f7c20ba1edf26e184637d33a52cf35 (patch) | |
tree | b25f67a8d32c3d211e6d16dfe010805c3bdafc0e /src/Wallabag/CoreBundle/Tests | |
parent | 20a69dffe7e1caf01c12b2c39dbb2f9cb8093925 (diff) | |
parent | d0b90fbe18da72dc09a0ef748fa178314f6657b6 (diff) | |
download | wallabag-47cadf36c8f7c20ba1edf26e184637d33a52cf35.tar.gz wallabag-47cadf36c8f7c20ba1edf26e184637d33a52cf35.tar.zst wallabag-47cadf36c8f7c20ba1edf26e184637d33a52cf35.zip |
Merge pull request #1292 from wallabag/v2-tags-route
Add tags list display
Diffstat (limited to 'src/Wallabag/CoreBundle/Tests')
-rw-r--r-- | src/Wallabag/CoreBundle/Tests/Controller/TagControllerTest.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/Controller/TagControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/TagControllerTest.php new file mode 100644 index 00000000..34faf709 --- /dev/null +++ b/src/Wallabag/CoreBundle/Tests/Controller/TagControllerTest.php | |||
@@ -0,0 +1,19 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Tests\Controller; | ||
4 | |||
5 | use Wallabag\CoreBundle\Tests\WallabagCoreTestCase; | ||
6 | use Doctrine\ORM\AbstractQuery; | ||
7 | |||
8 | class TagControllerTest extends WallabagCoreTestCase | ||
9 | { | ||
10 | public function testList() | ||
11 | { | ||
12 | $this->logInAs('admin'); | ||
13 | $client = $this->getClient(); | ||
14 | |||
15 | $client->request('GET', '/tag/list'); | ||
16 | |||
17 | $this->assertEquals(200, $client->getResponse()->getStatusCode()); | ||
18 | } | ||
19 | } | ||