]> Raphaƫl G. Git Repositories - airbundle/blob - Tests/Controller/DefaultControllerTest.php
Build context in constructor
[airbundle] / Tests / Controller / DefaultControllerTest.php
1 <?php
2
3 namespace Rapsys\AirBundle\Tests\Controller;
4
5 use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
6
7 class DefaultControllerTest extends WebTestCase
8 {
9 public function testIndex()
10 {
11 $client = static::createClient();
12
13 $crawler = $client->request('GET', '/');
14
15 $this->assertContains('Hello World', $client->getResponse()->getContent());
16 }
17 }