src/Company/BaseBundle/Tests/Controller/DefaultControllerTest.php
author cavaliet
Mon, 12 Dec 2011 14:27:37 +0100
changeset 51 4860d620ce87
parent 2 806e57d67020
permissions -rwxr-xr-x
Little css change for horizontal scroll in document table.

<?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);
    }
}