]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(tests): Test OTF font file backport/47928/stable30 47995/head
authorJoas Schilling <coding@schilljs.com>
Thu, 12 Sep 2024 21:04:16 +0000 (23:04 +0200)
committerAndy Scherzinger <info@andy-scherzinger.de>
Sun, 15 Sep 2024 19:33:52 +0000 (21:33 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/theming/tests/Themes/DyslexiaFontTest.php

index 05f489449b88176d2a7aa1f206bc1b64ae115636..99b6f8cfc8e951b8d350b007693747e426ea45bc 100644 (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());
        }
 }