src/Company/BaseBundle/Tests/Controller/DefaultControllerTest.php
author cavaliet
Wed, 07 Dec 2011 17:19:10 +0100
changeset 49 3752ef2d39d4
parent 2 806e57d67020
permissions -rwxr-xr-x
Upgrade column management with possibility to return to the initial columns. Little debug in all tag list.

<?php

namespace Company\BaseBundle\Tests\Controller;

use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

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

        $crawler = $client->request('GET', '/hello/Fabien');

        $this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count() > 0);
    }
}