From cdc3bbcb0c2cd588c418f1dff7fa21093bdfe4cb Mon Sep 17 00:00:00 2001 From: bruno-ds Date: Tue, 4 Aug 2020 13:56:27 +0200 Subject: [PATCH] unitTest: better error message --- test/releaseChecklist/SetupCssIntegrityChecklistTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/releaseChecklist/SetupCssIntegrityChecklistTest.php b/test/releaseChecklist/SetupCssIntegrityChecklistTest.php index 17df689ce..9c09ed842 100644 --- a/test/releaseChecklist/SetupCssIntegrityChecklistTest.php +++ b/test/releaseChecklist/SetupCssIntegrityChecklistTest.php @@ -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'); } }