<?php
+
namespace Shaarli\Plugin;
use Shaarli\Config\ConfigManager;
$data = [];
$this->pluginManager->executeHooks('error', $data);
- $this->assertSame(
- 'test [plugin incompatibility]: Class \'Unknown\' not found',
+ $this->assertRegExp(
+ '/test \[plugin incompatibility\]: Class [\'"]Unknown[\'"] not found/',
$this->pluginManager->getErrors()[0]
);
}