From d246e2c5129fe8d3f8e1429b4e8ff8e3e486c779 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 29 Sep 2020 18:49:02 +0200 Subject: Use assertRegExp polyfill instead of regexMatches --- tests/PluginManagerTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/PluginManagerTest.php') 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 @@ pluginManager->executeHooks('error', $data); - $this->assertMatchesRegularExpression( + $this->assertRegExp( '/test \[plugin incompatibility\]: Class [\'"]Unknown[\'"] not found/', $this->pluginManager->getErrors()[0] ); -- cgit v1.2.3