X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fapi%2Fcontrollers%2FInfoTest.php;h=f7e63bfaf2623e498ce0f9605c76aad7e517975b;hb=50142efd1b4b826f60b1e5673dba5ccbe26e0108;hp=5d6a23298670fe694f75bb4dd51a78a3b66ecb8e;hpb=7d86f40bdb2135655b5b4fe8cbcc1ac102114f86;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/api/controllers/InfoTest.php b/tests/api/controllers/InfoTest.php index 5d6a2329..f7e63bfa 100644 --- a/tests/api/controllers/InfoTest.php +++ b/tests/api/controllers/InfoTest.php @@ -54,6 +54,7 @@ class InfoTest 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 Info($this->container); }