aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tests/PluginManagerTest.php3
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
2namespace Shaarli\Plugin; 3namespace Shaarli\Plugin;
3 4
4use Shaarli\Config\ConfigManager; 5use 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 );