mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
themehandler better test failure feedback
This commit is contained in:
@@ -362,7 +362,12 @@ JSON;
|
||||
|
||||
if ($CompileCSSFromSASSCount==1)
|
||||
{
|
||||
$this->assertEquals(file_get_contents(APPROOT . $expected_maincss_path), file_get_contents($cssPath));
|
||||
$sExpectedMainCssFile = APPROOT.$expected_maincss_path;
|
||||
if (!is_file($sExpectedMainCssFile))
|
||||
{
|
||||
$this->assertTrue(false, "Cannot find expected main css file $sExpectedMainCssFile");
|
||||
}
|
||||
$this->assertEquals(file_get_contents($sExpectedMainCssFile), file_get_contents($cssPath));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user