mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 12:08:47 +02:00
N°5857 - PHPUnit: Replace usage of deprecated assetContains with assertStringContainsString
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user