namespace Shaarli\Api\Controllers;
use Shaarli\Config\ConfigManager;
-
use Slim\Container;
use Slim\Http\Environment;
use Slim\Http\Request;
/**
* Class InfoTest
- *
+ *
* Test REST API controller Info.
- *
+ *
* @package Api\Controllers
*/
-class InfoTest extends \PHPUnit_Framework_TestCase
+class InfoTest extends \PHPUnit\Framework\TestCase
{
/**
* @var string datastore to test write operations
$this->container = new Container();
$this->container['conf'] = $this->conf;
- $this->container['db'] = new \LinkDB(self::$testDatastore, true, false);
+ $this->container['db'] = new \Shaarli\Bookmark\LinkDB(self::$testDatastore, true, false);
$this->container['history'] = null;
$this->controller = new Info($this->container);