fix(tests): Test OTF font file

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2024-09-12 23:04:16 +02:00
parent 599a94fc9a
commit 0c224393f5
No known key found for this signature in database
GPG key ID: 74434EFE0D2E2205

View file

@ -163,7 +163,7 @@ class DyslexiaFontTest extends TestCase {
->with('htaccess.IgnoreFrontController', false)
->willReturn($prettyUrlsEnabled);
$this->assertStringContainsString("'$webRoot/apps/theming/fonts/OpenDyslexic-Regular.woff'", $this->dyslexiaFont->getCustomCss());
$this->assertStringContainsString("'$webRoot/apps/theming/fonts/OpenDyslexic-Regular.otf'", $this->dyslexiaFont->getCustomCss());
$this->assertStringNotContainsString('index.php', $this->dyslexiaFont->getCustomCss());
}
}