deblan.tv/vendor/trinity/src/Trinity/Bundle/VarsEditorBundle/Tests/Controller/DefaultControllerTest.php
2015-03-02 21:57:49 +01:00

18 lines
414 B
PHP

<?php
namespace Trinity\Bundle\VarsEditorBundle\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);
}
}