This repository has been archived on 2024-01-26. You can view files and clone it, but cannot push or open issues or pull requests.
calcifer/src/Hackspace/Bundle/CalciferBundle/Tests/Controller/DefaultControllerTest.php

18 lines
414 B
PHP
Raw Normal View History

2014-06-26 22:00:27 +02:00
<?php
namespace Hackspace\Bundle\CalciferBundle\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);
}
}