diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-05 16:34:02 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-05 16:34:02 +0100 |
commit | 50b3e9a088e67f626862c02a03b8663b767cd9f6 (patch) | |
tree | 1b7cfd370fb833dc36811a672fd4d86c5e3bf2b8 /tests | |
parent | 17e16cf46fe9cf605aa0c761e71251ecc0c48724 (diff) |
add integration test xml
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/bootstrap.php | 4 | ||||
-rw-r--r-- | tests/integration/db/ItemMapperTest.php | 2 |
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; |