mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-24 12:54:11 +01:00
unitTest: better error message
This commit is contained in:
@@ -53,7 +53,7 @@ class SetupCssIntegrityChecklistTest extends ItopTestCase
|
||||
$sSetupCssContent = file_get_contents($sSetupCssPath);
|
||||
$this->assertContains('/* integrityCheck: begin (do not remove/edit) */', $sSetupCssContent);
|
||||
$this->assertContains('/* integrityCheck: end (do not remove/edit) */', $sSetupCssContent);
|
||||
$this->assertGreaterThan(4000, strlen($sSetupCssContent)); //the value is totally arbitrary (at the time of the writing the file is 5660o long
|
||||
$this->assertGreaterThan(4000, strlen($sSetupCssContent), 'Test if the resulting file is long enough, the value is totally arbitrary (at the time of the writing the file is 5660o long');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user