summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/bootstrap.php4
-rw-r--r--tests/integration/db/ItemMapperTest.php2
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/integration/bootstrap.php b/tests/integration/bootstrap.php
index effe2fe9d..de6ad1cbe 100644
--- a/tests/integration/bootstrap.php
+++ b/tests/integration/bootstrap.php
@@ -3,6 +3,10 @@ namespace OCA\News\Tests\Integration;
require_once __DIR__ . '/../../../../lib/base.php';
+\OC_App::loadApps();
+\OC_User::setupBackends();
+\OC_Util::setupFS();
+
class NewsIntegrationTest extends \PHPUnit_Framework_TestCase {
diff --git a/tests/integration/db/ItemMapperTest.php b/tests/integration/db/ItemMapperTest.php
index fa9d438f8..97956b28d 100644
--- a/tests/integration/db/ItemMapperTest.php
+++ b/tests/integration/db/ItemMapperTest.php
@@ -2,8 +2,6 @@
namespace OCA\News\Db;
-require_once __DIR__ . '/../bootstrap.php';
-
use \OCA\News\AppInfo\Application;
use \OCA\News\Tests\Integration\NewsIntegrationTest;