summaryrefslogtreecommitdiffstats
path: root/tests/lib/appframework/AppTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/appframework/AppTest.php')
-rw-r--r--tests/lib/appframework/AppTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/appframework/AppTest.php b/tests/lib/appframework/AppTest.php
index 92fa4838341..bd565e9765e 100644
--- a/tests/lib/appframework/AppTest.php
+++ b/tests/lib/appframework/AppTest.php
@@ -25,7 +25,7 @@
namespace OC\AppFramework;
-class AppTest extends \PHPUnit_Framework_TestCase {
+class AppTest extends \Test\TestCase {
private $container;
private $api;
@@ -38,6 +38,8 @@ class AppTest extends \PHPUnit_Framework_TestCase {
private $controllerMethod;
protected function setUp() {
+ parent::setUp();
+
$this->container = new \OC\AppFramework\DependencyInjection\DIContainer('test', array());
$this->controller = $this->getMockBuilder(
'OCP\AppFramework\Controller')