505db3d1cc041781a7eed883cae67b56eca81738
[packbundle] / Tests / Controller / DefaultControllerTest.php
1 <?php
2
3 namespace Rapsys\PackBundle\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 }