mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-09-22 05:34:41 -04:00
Fix bootstrap template fallback in unit tests
This commit is contained in:
parent
07ba4f179d
commit
273b11e1b4
1 changed files with 2 additions and 2 deletions
|
@ -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';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue