mirror of
https://forge.chapril.org/tykayn/caisse-bliss
synced 2025-06-20 01:44:42 +02:00
18 lines
460 B
PHP
Executable file
18 lines
460 B
PHP
Executable file
<?php
|
|
|
|
namespace Tests\AppBundle\Controller;
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
|
|
|
class DefaultControllerTest extends WebTestCase
|
|
{
|
|
public function testIndex()
|
|
{
|
|
$client = static::createClient();
|
|
|
|
$crawler = $client->request('GET', '/');
|
|
|
|
$this->assertEquals(200, $client->getResponse()->getStatusCode());
|
|
$this->assertContains('Welcome to Symfony', $crawler->filter('#container h1')->text());
|
|
}
|
|
}
|