aboutsummaryrefslogblamecommitdiffhomepage
path: root/src/WallabagBundle/Tests/Controller/DefaultControllerTest.php
blob: 64b389bbe6e33423ef4fbf4d482bee773aba11bb (plain) (tree)
1
2
3
4
5
6
7





                                                    
                                             










                                                                                      
<?php

namespace WallabagBundle\Tests\Controller;

use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

class EntryControllerTest extends WebTestCase
{
    public function testIndex()
    {
        $client = static::createClient();

        $crawler = $client->request('GET', '/app/index');

        $this->assertEquals(200, $client->getResponse()->getStatusCode());
        $this->assertTrue($crawler->filter('html:contains("Homepage")')->count() > 0);
    }
}