diff --git a/tests/lib/appframework/AppTest.php b/tests/lib/appframework/AppTest.php
index 6e647f68e6f144df4300d38457bf848764f58788..dcf0e6f77e3ad2e497d5233cd7a15e31e026f3d5 100644
--- a/tests/lib/appframework/AppTest.php
+++ b/tests/lib/appframework/AppTest.php
@@ -46,7 +46,7 @@ class AppTest extends \PHPUnit_Framework_TestCase {
 	private $controllerMethod;
 
 	protected function setUp() {
-		$this->container = new \Pimple();
+		$this->container = new \OC\AppFramework\DependencyInjection\DIContainer('test');
 		$this->controller = $this->getMockBuilder(
 			'OC\AppFramework\Controller\Controller')
 			->disableOriginalConstructor()