mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 00:58:48 +02:00
💚 Change setup.css test
Was checking comment presence, but we removed the comments (N°3865)
This commit is contained in:
@@ -44,14 +44,10 @@ class SetupCssIntegrityChecklistTest extends ItopTestCase
|
||||
parent::setUp();
|
||||
}
|
||||
|
||||
/**
|
||||
*/
|
||||
public function testSetupCssIntegrity()
|
||||
{
|
||||
$sSetupCssPath = APPROOT.'css/setup.css';
|
||||
$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 $sSetupCssPath 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