From 50b3e9a088e67f626862c02a03b8663b767cd9f6 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 5 Nov 2014 16:34:02 +0100 Subject: add integration test xml --- tests/integration/bootstrap.php | 4 ++++ tests/integration/db/ItemMapperTest.php | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'tests') 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; -- cgit v1.2.3