X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2FPluginManagerTest.php;h=bbd2e142feb7b21f84f73869f4225e43e5c80c07;hb=ab58f2542072e6bf34acd862f6cfed84b33feb29;hp=38cd5ebaeeb05db58c435be68c08d1c4408acd9e;hpb=a5a9cf23acd1248585173aa32757d9720b5f2d62;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/PluginManagerTest.php b/tests/PluginManagerTest.php index 38cd5eba..bbd2e142 100644 --- a/tests/PluginManagerTest.php +++ b/tests/PluginManagerTest.php @@ -81,8 +81,8 @@ class PluginManagerTest extends \Shaarli\TestCase $data = []; $this->pluginManager->executeHooks('error', $data); - $this->assertSame( - 'test [plugin incompatibility]: Class \'Unknown\' not found', + $this->assertMatchesRegularExpression( + '/test \[plugin incompatibility\]: Class [\'"]Unknown[\'"] not found/', $this->pluginManager->getErrors()[0] ); }