From fa5f07ba9a77959796c3c7a4851f2f2fe1051afa Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Mon, 1 Oct 2018 10:07:57 +0200 Subject: Put back old tests for stable nextcloud version --- tests/Unit/Utility/OPMLExporterTest.php | 3 ++- tests/Unit/Utility/ProxyConfigParserTest.php | 3 ++- tests/Unit/Utility/UpdaterTest.php | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) (limited to 'tests/Unit/Utility') 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; -- cgit v1.2.3