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

@@ -334,7 +334,7 @@ class MetaModelTest extends ItopDataTestCase
try {
MetaModel::GetEnumStyle('Contact', 'name', '');
} catch (CoreException $e) {
self::assertContains('AttributeEnum', $e->getMessage());
self::assertStringContainsString('AttributeEnum', $e->getMessage());
return;
}