Fix unit tests

This commit is contained in:
Art4 2025-05-15 13:26:34 +00:00
parent 1428085c4b
commit 9870fbf84f

View file

@ -120,7 +120,7 @@ class AddonManagerHelperTest extends TestCase
);
$this->expectException(AddonInvalidConfigFileException::class);
$this->expectExceptionMessageMatches('^#Error loading config file .+/helloaddon/static/dependencies\.config\.php#$');
$this->expectExceptionMessageMatches('#Error loading config file .+/helloaddon/static/dependencies\.config\.php#');
$addonManagerHelper->getAddonDependencyConfig('helloaddon');
}