PHPUnit: Migrate deprecated usages of assertFileNotExists() and assertRegExp()

This commit is contained in:
Molkobain
2023-02-24 21:41:53 +01:00
parent 029c01b13e
commit b1bd1e1677
2 changed files with 4 additions and 4 deletions

View File

@@ -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");
}
}