N°5857 Fix PHPUnitPrettyPrint with PHPUnit 9

This commit is contained in:
Eric Espie
2023-01-04 16:42:35 +01:00
parent 15d3201a40
commit d3d89b1ee2
14 changed files with 627 additions and 673 deletions

View File

@@ -343,7 +343,7 @@ class DataSynchroTest extends ItopDataTestCase
$aKeys = ["creation", "update", "deletion"];
foreach ($aKeys as $sKey){
$this->assertContains("$sKey errors: 0", $sResultsViewable, "step $iRow : below res should contain '$sKey errors: 0': " . $sResultsViewable);
$this->assertStringContainsString("$sKey errors: 0", $sResultsViewable, "step $iRow : below res should contain '$sKey errors: 0': " . $sResultsViewable);
}
//N°3805 : potential javascript returned like