Unit tests: Fix themes compilation test

This commit is contained in:
Molkobain
2022-01-12 15:14:05 +01:00
parent 656bbfe46d
commit 64afa07ff5
2 changed files with 3 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ class ThemeHandlerService
{
}
public function CompileTheme($sThemeId, $bSetup = false, $sSetupCompilationTimestamp="", $aThemeParameters = null, $aImportsPaths = null, $sWorkingPath = null){
return ThemeHandler::CompileTheme($sThemeId, $bSetup, $sSetupCompilationTimestamp="", $aThemeParameters, $aImportsPaths, $sWorkingPath);
public function CompileTheme($sThemeId, $bSetup = false, $sSetupCompilationTimestamp = "", $aThemeParameters = null, $aImportsPaths = null, $sWorkingPath = null){
return ThemeHandler::CompileTheme($sThemeId, $bSetup, $sSetupCompilationTimestamp, $aThemeParameters, $aImportsPaths, $sWorkingPath);
}
}

View File

@@ -178,6 +178,7 @@ class MFCompilerTest extends ItopTestCase {
'stylesheets' => [
"fullmoon" => '../css/backoffice/main.scss',
"environment-banner" => '../css/backoffice/themes/page-banner.scss',
"datamodel-compiled-scss-rules" => 'branding/themes/datamodel-compiled-scss-rules.scss',
],
];