diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-23 16:28:37 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-23 16:28:37 +0100 |
commit | ad4d1caa9e744af57ca58a4e57576533eb682d00 (patch) | |
tree | 37d6c284d2afc7fc62cdf80be419b536ab4ea603 /src/Wallabag/CoreBundle/Tests | |
parent | b84a80559a1167b5500fbc5eb4965d3b08b371ef (diff) | |
download | wallabag-ad4d1caa9e744af57ca58a4e57576533eb682d00.tar.gz wallabag-ad4d1caa9e744af57ca58a4e57576533eb682d00.tar.zst wallabag-ad4d1caa9e744af57ca58a4e57576533eb682d00.zip |
move WallabagBundle into Wallabag:CoreBundle
Diffstat (limited to 'src/Wallabag/CoreBundle/Tests')
-rw-r--r-- | src/Wallabag/CoreBundle/Tests/Controller/DefaultControllerTest.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/Controller/DefaultControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/DefaultControllerTest.php new file mode 100644 index 00000000..af20f31f --- /dev/null +++ b/src/Wallabag/CoreBundle/Tests/Controller/DefaultControllerTest.php | |||
@@ -0,0 +1,18 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Tests\Controller; | ||
4 | |||
5 | use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; | ||
6 | |||
7 | class EntryControllerTest extends WebTestCase | ||
8 | { | ||
9 | public function testIndex() | ||
10 | { | ||
11 | $client = static::createClient(); | ||
12 | |||
13 | $crawler = $client->request('GET', '/app/index'); | ||
14 | |||
15 | $this->assertEquals(200, $client->getResponse()->getStatusCode()); | ||
16 | $this->assertTrue($crawler->filter('html:contains("Homepage")')->count() > 0); | ||
17 | } | ||
18 | } | ||