summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Utility
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/Utility
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/Utility')
-rw-r--r--tests/Unit/Utility/OPMLExporterTest.php3
-rw-r--r--tests/Unit/Utility/ProxyConfigParserTest.php4
-rw-r--r--tests/Unit/Utility/UpdaterTest.php4
3 files changed, 8 insertions, 3 deletions
diff --git a/tests/Unit/Utility/OPMLExporterTest.php b/tests/Unit/Utility/OPMLExporterTest.php
index 4a4ff6ce3..cf33b779b 100644
--- a/tests/Unit/Utility/OPMLExporterTest.php
+++ b/tests/Unit/Utility/OPMLExporterTest.php
@@ -11,10 +11,11 @@
* @copyright Bernhard Posselt 2012, 2014
*/
-namespace OCA\News\Utility;
+namespace OCA\News\Tests\Unit\Utility;
use \OCA\News\Db\Folder;
use \OCA\News\Db\Feed;
+use OCA\News\Utility\OPMLExporter;
class OPMLExporterTest extends \PHPUnit_Framework_TestCase {
diff --git a/tests/Unit/Utility/ProxyConfigParserTest.php b/tests/Unit/Utility/ProxyConfigParserTest.php
index 685d88256..cc7833c31 100644
--- a/tests/Unit/Utility/ProxyConfigParserTest.php
+++ b/tests/Unit/Utility/ProxyConfigParserTest.php
@@ -11,9 +11,11 @@
* @copyright Bernhard Posselt 2012, 2014
*/
-namespace OCA\News\Utility;
+namespace OCA\News\Tests\Unit\Utility;
+use OCA\News\Utility\ProxyConfigParser;
+
class ProxyConfigParserTest extends \PHPUnit_Framework_TestCase {
private $config;
diff --git a/tests/Unit/Utility/UpdaterTest.php b/tests/Unit/Utility/UpdaterTest.php
index defa8c745..76ebe74f7 100644
--- a/tests/Unit/Utility/UpdaterTest.php
+++ b/tests/Unit/Utility/UpdaterTest.php
@@ -11,9 +11,11 @@
* @copyright Bernhard Posselt 2012, 2014
*/
-namespace OCA\News\Utility;
+namespace OCA\News\Tests\Unit\Utility;
+use OCA\News\Utility\Updater;
+
class UpdaterTest extends \PHPUnit_Framework_TestCase {
private $folderService;