use Shaarli\Formatter\BookmarkFormatter;
use Shaarli\Formatter\FormatterFactory;
use Shaarli\History;
+use Shaarli\Plugin\PluginManager;
use Shaarli\TestCase;
require_once 'tests/utils/ReferenceLinkDB.php';
*/
protected static $history;
+ /** @var PluginManager */
+ protected static $pluginManager;
+
/**
* @var NetscapeBookmarkUtils
*/
static::$refDb = new \ReferenceLinkDB();
static::$refDb->write(static::$testDatastore);
static::$history = new History('sandbox/history.php');
- static::$bookmarkService = new BookmarkFileService(static::$conf, static::$history, $mutex, true);
+ static::$pluginManager = new PluginManager(static::$conf);
+ static::$bookmarkService = new BookmarkFileService(
+ static::$conf,
+ static::$pluginManager,
+ static::$history,
+ $mutex,
+ true
+ );
$factory = new FormatterFactory(static::$conf, true);
static::$formatter = $factory->getFormatter('raw');
}