aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PluginManagerTest.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-09-29 15:00:11 +0200
committerArthurHoaro <arthur@hoa.ro>2020-09-29 18:57:22 +0200
commitab58f2542072e6bf34acd862f6cfed84b33feb29 (patch)
treea773a2ad2b98cd8e68c6f3c45c294e036cf3bd41 /tests/PluginManagerTest.php
parenta5a9cf23acd1248585173aa32757d9720b5f2d62 (diff)
downloadShaarli-ab58f2542072e6bf34acd862f6cfed84b33feb29.tar.gz
Shaarli-ab58f2542072e6bf34acd862f6cfed84b33feb29.tar.zst
Shaarli-ab58f2542072e6bf34acd862f6cfed84b33feb29.zip
Compatibility with PHP 8
Diffstat (limited to 'tests/PluginManagerTest.php')
-rw-r--r--tests/PluginManagerTest.php4
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 }