mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 12:08:47 +02:00
PHPUnit: Migrate deprecated usages of assertFileNotExists() and assertRegExp()
This commit is contained in:
@@ -71,7 +71,7 @@ class iTopComposerTest extends ItopTestCase
|
||||
|
||||
foreach ($aDirs as $sDir) {
|
||||
$sDirName = basename($sDir);
|
||||
$this->assertRegExp(iTopComposer::TEST_DIR_REGEXP, $sDirName, "Directory not matching test dir : $sDir");
|
||||
$this->assertMatchesRegularExpression(iTopComposer::TEST_DIR_REGEXP, $sDirName, "Directory not matching test dir : $sDir");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user