]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/api/controllers/GetLinkIdTest.php
Add history entries for API endpoint
[github/shaarli/Shaarli.git] / tests / api / controllers / GetLinkIdTest.php
index 45b18e6a74db4f7695133ce435fd525631ed3b0e..57528d5aee7c7372dee4dff3fd6f15abe0a6d8af 100644 (file)
@@ -62,6 +62,7 @@ class GetLinkIdTest extends \PHPUnit_Framework_TestCase
         $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);
     }