Tests/Controller/DefaultControllerTest.php
author cavaliet
Thu, 10 Nov 2011 12:40:22 +0100
changeset 32 38dcd2db04e4
parent 1 06a22ff5d58d
permissions -rwxr-xr-x
Debug case sentive tag modification.

<?php

namespace IRI\Bundle\WikiTagBundle\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);
    }
}