Tests/Controller/DefaultControllerTest.php
author cavaliet
Tue, 25 Oct 2011 12:20:47 +0200
changeset 13 c288952a089f
parent 1 06a22ff5d58d
permissions -rwxr-xr-x
Remove WP link from tag list now works.

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