src/Company/BaseBundle/Tests/Controller/DefaultControllerTest.php
author cavaliet
Mon, 28 Nov 2011 15:58:34 +0100
changeset 43 9124c70d4fd2
parent 2 806e57d67020
permissions -rwxr-xr-x
Finalise to implement the document profile with the list of columns.

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