Set up testing

This commit is contained in:
myrmidex 2026-06-02 16:53:17 +00:00
parent 99b4ca1729
commit 98d85af67f
3 changed files with 2341 additions and 2323 deletions

4645
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -3,6 +3,6 @@
<title>Test</title>
</head>
<body>
Body Test
<h1>Rater</h1>
</body>
</html>

View file

@ -0,0 +1,17 @@
<?php
namespace App\Tests\Integration\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class IndexControllerTest extends WebTestCase
{
public function testSomething(): void
{
$client = static::createClient();
$crawler = $client->request('GET', '/');
$this->assertResponseIsSuccessful();
$this->assertSelectorTextContains('h1', 'Rater');
}
}