diff options
Diffstat (limited to 'tests/api/ApiMiddlewareTest.php')
-rw-r--r-- | tests/api/ApiMiddlewareTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/api/ApiMiddlewareTest.php b/tests/api/ApiMiddlewareTest.php index 86700840..2afac28b 100644 --- a/tests/api/ApiMiddlewareTest.php +++ b/tests/api/ApiMiddlewareTest.php | |||
@@ -3,6 +3,7 @@ namespace Shaarli\Api; | |||
3 | 3 | ||
4 | use Shaarli\Config\ConfigManager; | 4 | use Shaarli\Config\ConfigManager; |
5 | use Shaarli\History; | 5 | use Shaarli\History; |
6 | use Shaarli\Plugin\PluginManager; | ||
6 | use Slim\Container; | 7 | use Slim\Container; |
7 | use Slim\Http\Environment; | 8 | use Slim\Http\Environment; |
8 | use Slim\Http\Request; | 9 | use Slim\Http\Request; |
@@ -56,6 +57,7 @@ class ApiMiddlewareTest extends \Shaarli\TestCase | |||
56 | $this->container = new Container(); | 57 | $this->container = new Container(); |
57 | $this->container['conf'] = $this->conf; | 58 | $this->container['conf'] = $this->conf; |
58 | $this->container['history'] = $history; | 59 | $this->container['history'] = $history; |
60 | $this->container['pluginManager'] = new PluginManager($this->conf); | ||
59 | } | 61 | } |
60 | 62 | ||
61 | /** | 63 | /** |