Fix bootstrap template fallback in unit tests

This commit is contained in:
Ribas160 2025-07-21 09:30:30 +03:00
parent 07ba4f179d
commit 273b11e1b4

View file

@ -10,7 +10,7 @@ class TemplateSwitcherTest extends TestCase
{ {
$conf = new Configuration; $conf = new Configuration;
$defaultTemplateFallback = 'bootstrap'; $defaultTemplateFallback = 'bootstrap5';
$existingTemplateFallback = 'bootstrap-dark'; $existingTemplateFallback = 'bootstrap-dark';
$wrongBootstrapTemplateFallback = 'bootstrap-wrong'; $wrongBootstrapTemplateFallback = 'bootstrap-wrong';
$wrongTemplateFallback = 'wrong-template'; $wrongTemplateFallback = 'wrong-template';
@ -38,7 +38,7 @@ class TemplateSwitcherTest extends TestCase
public function testGetTemplate() public function testGetTemplate()
{ {
$defaultTemplateFallback = 'bootstrap'; $defaultTemplateFallback = 'bootstrap5';
$customTemplate = 'bootstrap-dark'; $customTemplate = 'bootstrap-dark';
$customWrongTemplate = 'bootstrap-wrong'; $customWrongTemplate = 'bootstrap-wrong';