unitTest: better error message

This commit is contained in:
bruno-ds
2020-08-04 13:56:27 +02:00
parent 5edcc91182
commit cdc3bbcb0c

View File

@@ -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');
}
}