Tests/Controller/DefaultControllerTest.php
author ymh <ymh.work@gmail.com>
Wed, 09 Nov 2011 16:25:13 +0100
changeset 30 d2fba1e3b94b
parent 1 06a22ff5d58d
permissions -rwxr-xr-x
correction of reorder tag (including the javascript)

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