]> Raphaƫl G. Git Repositories - packbundle/blob - Tests/Controller/DefaultControllerTest.php
Fix composer require
[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 }