diff options
Diffstat (limited to 'tests/PluginManagerTest.php')
-rw-r--r-- | tests/PluginManagerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
81 | $data = []; | 81 | $data = []; |
82 | $this->pluginManager->executeHooks('error', $data); | 82 | $this->pluginManager->executeHooks('error', $data); |
83 | 83 | ||
84 | $this->assertSame( | 84 | $this->assertMatchesRegularExpression( |
85 | 'test [plugin incompatibility]: Class \'Unknown\' not found', | 85 | '/test \[plugin incompatibility\]: Class [\'"]Unknown[\'"] not found/', |
86 | $this->pluginManager->getErrors()[0] | 86 | $this->pluginManager->getErrors()[0] |
87 | ); | 87 | ); |
88 | } | 88 | } |