X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2FPluginManagerTest.php;h=efef5e8746ed2b165d4902a1877a550cc007b462;hb=d246e2c5129fe8d3f8e1429b4e8ff8e3e486c779;hp=bbd2e142feb7b21f84f73869f4225e43e5c80c07;hpb=3a49307c3d193d022aa10d6597c4db189486f18f;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/PluginManagerTest.php b/tests/PluginManagerTest.php index bbd2e142..efef5e87 100644 --- a/tests/PluginManagerTest.php +++ b/tests/PluginManagerTest.php @@ -1,4 +1,5 @@ pluginManager->executeHooks('error', $data); - $this->assertMatchesRegularExpression( + $this->assertRegExp( '/test \[plugin incompatibility\]: Class [\'"]Unknown[\'"] not found/', $this->pluginManager->getErrors()[0] );