enhance phpunit test messages in case of failure

This commit is contained in:
odain
2020-08-04 14:11:52 +02:00
parent 4f04031183
commit 56e2f63385
3 changed files with 3 additions and 3 deletions

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), 'Test if the resulting file is long enough, 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 $sSetupCssPath is long enough, the value is totally arbitrary (at the time of the writing the file is 5660o long");
}
}