futtern/tests/Controler/HomeTest.php
lubiana a32bf4ce7d
All checks were successful
/ ls (push) Successful in 25s
A new start
2024-06-10 19:16:55 +02:00

17 lines
402 B
PHP

<?php declare(strict_types=1);
namespace App\Tests\Controler;
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');
}
}