2024-06-10 17:16:55 +00:00
|
|
|
<?php declare(strict_types=1);
|
|
|
|
|
2024-06-10 18:22:44 +00:00
|
|
|
namespace App\Tests\Controller;
|
2024-06-10 17:16:55 +00:00
|
|
|
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
|
|
|
|
|
|
|
final class HomeTest extends WebTestCase
|
|
|
|
{
|
|
|
|
public function testSomething(): void
|
|
|
|
{
|
|
|
|
$client = static::createClient();
|
|
|
|
$client->request('GET', '/');
|
|
|
|
|
|
|
|
$this->assertResponseIsSuccessful();
|
|
|
|
$this->assertSelectorTextContains('h1', 'Halloo');
|
|
|
|
}
|
|
|
|
}
|