chg: usr: completely disable the contact form #15
Deploy to Production / deploy (push) Successful in 3m0s

This commit is contained in:
Lang
2026-09-21 10:23:38 +02:00
parent db54899ed4
commit e70cb57176
3 changed files with 7 additions and 8 deletions
+3 -5
View File
@@ -89,14 +89,12 @@ class GameControllerTest extends WebTestCase
}
#[Test]
#[TestDox('Contact page loads successfully with form')]
public function contactPageLoadsSuccessfully(): void
#[TestDox('Contact page is not publicly accessible')]
public function contactPageIsNotPubliclyAccessible(): void
{
$crawler = $this->client->request('GET', '/contact');
self::assertResponseStatusCodeSame(Response::HTTP_OK);
self::assertSelectorExists('form');
self::assertSelectorExists('button[type="submit"]');
self::assertResponseStatusCodeSame(Response::HTTP_NOT_FOUND);
}
#[Test]