summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Utility
diff options
context:
space:
mode:
authorSean Molenaar <sean@m2mobi.com>2018-10-01 10:07:57 +0200
committerSean Molenaar <sean@m2mobi.com>2018-10-02 14:33:09 +0200
commitfa5f07ba9a77959796c3c7a4851f2f2fe1051afa (patch)
treec0eedead6788614b886940f892f23c6537368a19 /tests/Unit/Utility
parentc36b0a95685cb0daa3fce9d743b7610a5cfe50ed (diff)
Put back old tests for stable nextcloud version
Diffstat (limited to 'tests/Unit/Utility')
-rw-r--r--tests/Unit/Utility/OPMLExporterTest.php3
-rw-r--r--tests/Unit/Utility/ProxyConfigParserTest.php3
-rw-r--r--tests/Unit/Utility/UpdaterTest.php4
3 files changed, 6 insertions, 4 deletions
diff --git a/tests/Unit/Utility/OPMLExporterTest.php b/tests/Unit/Utility/OPMLExporterTest.php
index 7f2c7dfdf..f02353100 100644
--- a/tests/Unit/Utility/OPMLExporterTest.php
+++ b/tests/Unit/Utility/OPMLExporterTest.php
@@ -16,9 +16,10 @@ namespace OCA\News\Tests\Unit\Utility;
use \OCA\News\Db\Folder;
use \OCA\News\Db\Feed;
use OCA\News\Utility\OPMLExporter;
+use PHPUnit\Framework\TestCase;
-class OPMLExporterTest extends \PHPUnit_Framework_TestCase
+class OPMLExporterTest extends TestCase
{
private $exporter;
diff --git a/tests/Unit/Utility/ProxyConfigParserTest.php b/tests/Unit/Utility/ProxyConfigParserTest.php
index a2a92fd38..34a7e4502 100644
--- a/tests/Unit/Utility/ProxyConfigParserTest.php
+++ b/tests/Unit/Utility/ProxyConfigParserTest.php
@@ -15,8 +15,9 @@ namespace OCA\News\Tests\Unit\Utility;
use OCA\News\Utility\ProxyConfigParser;
+use PHPUnit\Framework\TestCase;
-class ProxyConfigParserTest extends \PHPUnit_Framework_TestCase
+class ProxyConfigParserTest extends TestCase
{
private $config;
diff --git a/tests/Unit/Utility/UpdaterTest.php b/tests/Unit/Utility/UpdaterTest.php
index 87bbe31b9..3ebf47a9a 100644
--- a/tests/Unit/Utility/UpdaterTest.php
+++ b/tests/Unit/Utility/UpdaterTest.php
@@ -13,10 +13,10 @@
namespace OCA\News\Tests\Unit\Utility;
-
use OCA\News\Utility\Updater;
+use PHPUnit\Framework\TestCase;
-class UpdaterTest extends \PHPUnit_Framework_TestCase
+class UpdaterTest extends TestCase
{
private $folderService;