X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fapi%2Fcontrollers%2FGetLinksTest.php;h=4cb70224ce734318862810e647eabdd52490d452;hb=3e395a6bc63cba16b0772a382f6cbac0ce4ab906;hp=f1b262bc16faa2d8193cc0dc8f7eb68910ee2ad1;hpb=7d86f40bdb2135655b5b4fe8cbcc1ac102114f86;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/api/controllers/GetLinksTest.php b/tests/api/controllers/GetLinksTest.php index f1b262bc..4cb70224 100644 --- a/tests/api/controllers/GetLinksTest.php +++ b/tests/api/controllers/GetLinksTest.php @@ -61,6 +61,7 @@ class GetLinksTest 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); }