]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/WallabagBundle/Tests/Controller/DefaultControllerTest.php
symfony is there
[github/wallabag/wallabag.git] / src / WallabagBundle / Tests / Controller / DefaultControllerTest.php
1 <?php
2
3 namespace WallabagBundle\Tests\Controller;
4
5 use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
6
7 class DefaultControllerTest 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 }