From 9515051fb75bf42338cf44136e2035044438d234 Mon Sep 17 00:00:00 2001 From: Christian Scheb Date: Sat, 4 Nov 2023 14:42:30 +0100 Subject: [PATCH] Disable HTML5 parser --- app/tests/TestCase.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/tests/TestCase.php b/app/tests/TestCase.php index a51a75fd..aab94da6 100644 --- a/app/tests/TestCase.php +++ b/app/tests/TestCase.php @@ -42,6 +42,7 @@ public function setUp(): void $this->resetSqliteDatabase(); $this->client = static::createClient(); + $this->client->useHtml5Parser(false); // Not necessary, otherwise we'd need to install masterminds/html5 $this->client->setServerParameter('REMOTE_ADDR', self::DEFAULT_IP_ADDRESS); $this->followRedirects(true);