]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/PluginManagerTest.php
Merge pull request #1618 from ArthurHoaro/fix/ut-daily-date-1-digit
[github/shaarli/Shaarli.git] / tests / PluginManagerTest.php
index bbd2e142feb7b21f84f73869f4225e43e5c80c07..efef5e8746ed2b165d4902a1877a550cc007b462 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+
 namespace Shaarli\Plugin;
 
 use Shaarli\Config\ConfigManager;
@@ -81,7 +82,7 @@ class PluginManagerTest extends \Shaarli\TestCase
         $data = [];
         $this->pluginManager->executeHooks('error', $data);
 
-        $this->assertMatchesRegularExpression(
+        $this->assertRegExp(
             '/test \[plugin incompatibility\]: Class [\'"]Unknown[\'"] not found/',
             $this->pluginManager->getErrors()[0]
         );