summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Fetcher
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/Unit/Fetcher
parent2de169e43a17bdb6e1d19054e76de3ce7e220052 (diff)
Unit: Fix unittests (#278)
* Unit: Fix unittests Issue #171 * Tests: Move test namespace to the expected nextcloud namespace
Diffstat (limited to 'tests/Unit/Fetcher')
-rw-r--r--tests/Unit/Fetcher/FeedFetcherTest.php3
-rw-r--r--tests/Unit/Fetcher/FetcherTest.php4
-rw-r--r--tests/Unit/Fetcher/YoutubeFetcherTest.php3
3 files changed, 7 insertions, 3 deletions
diff --git a/tests/Unit/Fetcher/FeedFetcherTest.php b/tests/Unit/Fetcher/FeedFetcherTest.php
index 16d26cb66..ae0895d15 100644
--- a/tests/Unit/Fetcher/FeedFetcherTest.php
+++ b/tests/Unit/Fetcher/FeedFetcherTest.php
@@ -11,10 +11,11 @@
* @copyright Bernhard Posselt 2012, 2014
*/
-namespace OCA\News\Fetcher;
+namespace OCA\News\Tests\Unit\Fetcher;
use \OCA\News\Db\Item;
use \OCA\News\Db\Feed;
+use OCA\News\Fetcher\FeedFetcher;
use OCP\Http\Client\IClientService;
use PicoFeed\Processor\ItemPostProcessor;
diff --git a/tests/Unit/Fetcher/FetcherTest.php b/tests/Unit/Fetcher/FetcherTest.php
index 7450b61d5..67619f71d 100644
--- a/tests/Unit/Fetcher/FetcherTest.php
+++ b/tests/Unit/Fetcher/FetcherTest.php
@@ -23,9 +23,11 @@
*
*/
-namespace OCA\News\Fetcher;
+namespace OCA\News\Tests\Unit\Fetcher;
+use OCA\News\Fetcher\Fetcher;
+
class FetcherTest extends \PHPUnit_Framework_TestCase {
private $fetcher;
diff --git a/tests/Unit/Fetcher/YoutubeFetcherTest.php b/tests/Unit/Fetcher/YoutubeFetcherTest.php
index ae04ce916..64dcf5f98 100644
--- a/tests/Unit/Fetcher/YoutubeFetcherTest.php
+++ b/tests/Unit/Fetcher/YoutubeFetcherTest.php
@@ -9,9 +9,10 @@
* @copyright Bernhard Posselt 2012, 2014
*/
-namespace OCA\News\Fetcher;
+namespace OCA\News\Tests\Unit\Fetcher;
use \OCA\News\Db\Feed;
+use OCA\News\Fetcher\YoutubeFetcher;
class YoutubeFetcherTest extends \PHPUnit_Framework_TestCase {