diff options
Diffstat (limited to 'tests/PluginManagerTest.php')
-rw-r--r-- | tests/PluginManagerTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ | |||
1 | <?php | 1 | <?php |
2 | |||
2 | namespace Shaarli\Plugin; | 3 | namespace Shaarli\Plugin; |
3 | 4 | ||
4 | use Shaarli\Config\ConfigManager; | 5 | use Shaarli\Config\ConfigManager; |
@@ -81,7 +82,7 @@ class PluginManagerTest extends \Shaarli\TestCase | |||
81 | $data = []; | 82 | $data = []; |
82 | $this->pluginManager->executeHooks('error', $data); | 83 | $this->pluginManager->executeHooks('error', $data); |
83 | 84 | ||
84 | $this->assertMatchesRegularExpression( | 85 | $this->assertRegExp( |
85 | '/test \[plugin incompatibility\]: Class [\'"]Unknown[\'"] not found/', | 86 | '/test \[plugin incompatibility\]: Class [\'"]Unknown[\'"] not found/', |
86 | $this->pluginManager->getErrors()[0] | 87 | $this->pluginManager->getErrors()[0] |
87 | ); | 88 | ); |