namespace Shaarli\Api\Controllers;
+use Shaarli\Config\ConfigManager;
use Slim\Container;
use Slim\Http\Environment;
protected static $testDatastore = 'sandbox/datastore.php';
/**
- * @var \ConfigManager instance
+ * @var ConfigManager instance
*/
protected $conf;
*/
public function setUp()
{
- $this->conf = new \ConfigManager('tests/utils/config/configJson');
+ $this->conf = new ConfigManager('tests/utils/config/configJson');
$this->refDB = new \ReferenceLinkDB();
$this->refDB->write(self::$testDatastore);
$this->container = new Container();
$this->container['conf'] = $this->conf;
$this->container['db'] = new \LinkDB(self::$testDatastore, true, false);
+ $this->container['history'] = null;
$this->controller = new Links($this->container);
}