summaryrefslogtreecommitdiffstats
path: root/tests/Integration
diff options
context:
space:
mode:
authorSean Molenaar <SMillerDev@users.noreply.github.com>2018-03-18 15:01:08 +0100
committerBernhard Posselt <BernhardPosselt@users.noreply.github.com>2018-03-18 15:01:08 +0100
commit17e85dd5079b7ee0b1f18a450b66ec5df3cf5eb3 (patch)
tree4a4ddbea25429a4a9d82b8b28cd935d8838b30f3 /tests/Integration
parent2de169e43a17bdb6e1d19054e76de3ce7e220052 (diff)
Unit: Fix unittests (#278)
* Unit: Fix unittests Issue #171 * Tests: Move test namespace to the expected nextcloud namespace
Diffstat (limited to 'tests/Integration')
-rw-r--r--tests/Integration/Db/FeedMapperTest.php5
-rw-r--r--tests/Integration/Db/FolderMapperTest.php6
-rw-r--r--tests/Integration/Db/ItemMapperTest.php4
3 files changed, 8 insertions, 7 deletions
diff --git a/tests/Integration/Db/FeedMapperTest.php b/tests/Integration/Db/FeedMapperTest.php
index b429149a4..bcf1cb895 100644
--- a/tests/Integration/Db/FeedMapperTest.php
+++ b/tests/Integration/Db/FeedMapperTest.php
@@ -11,10 +11,11 @@
* @copyright Daniel Opitz 2017
*/
-namespace OCA\News\Db;
+namespace OCA\News\Tests\Integration\Db;
-use OCA\News\Tests\Integration\Fixtures\FeedFixture;
+use OCA\News\Db\Feed;
use OCA\News\Tests\Integration\IntegrationTest;
+use OCA\News\Tests\Integration\Fixtures\FeedFixture;
class FeedMapperTest extends IntegrationTest {
diff --git a/tests/Integration/Db/FolderMapperTest.php b/tests/Integration/Db/FolderMapperTest.php
index 80ff1963c..4be407566 100644
--- a/tests/Integration/Db/FolderMapperTest.php
+++ b/tests/Integration/Db/FolderMapperTest.php
@@ -8,10 +8,10 @@
* @author Bernhard Posselt <dev@bernhard-posselt.com>
* @copyright Bernhard Posselt 2015
*/
-
-namespace OCA\News\Db;
-use \OCA\News\Tests\Integration\IntegrationTest;
+namespace OCA\News\Tests\Integration\Db;
+
+use OCA\News\Tests\Integration\IntegrationTest;
class FolderMapperTest extends IntegrationTest {
diff --git a/tests/Integration/Db/ItemMapperTest.php b/tests/Integration/Db/ItemMapperTest.php
index fa9cc7d25..546c43d85 100644
--- a/tests/Integration/Db/ItemMapperTest.php
+++ b/tests/Integration/Db/ItemMapperTest.php
@@ -9,11 +9,11 @@
* @copyright Bernhard Posselt 2015
*/
-namespace OCA\News\Db;
+namespace OCA\News\Tests\Integration\Db;
+use OCA\News\Tests\Integration\IntegrationTest;
use OCA\News\Tests\Integration\Fixtures\FeedFixture;
use OCA\News\Tests\Integration\Fixtures\ItemFixture;
-use OCA\News\Tests\Integration\IntegrationTest;
class ItemMapperTest extends IntegrationTest {