From 21bd539847f33c3889c4f58f14afd672f54a410a Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 9 Apr 2014 01:44:12 +0200 Subject: ported to owncloud internal appframework classes, confused with how to start the app and define deps --- tests/unit/businesslayer/BusinessLayerTest.php | 2 +- tests/unit/businesslayer/FeedBusinessLayerTest.php | 2 +- tests/unit/businesslayer/FolderBusinessLayerTest.php | 2 +- tests/unit/businesslayer/ItemBusinessLayerTest.php | 2 +- tests/unit/businesslayer/StatusFlagTest.php | 4 +--- 5 files changed, 5 insertions(+), 7 deletions(-) (limited to 'tests/unit/businesslayer') diff --git a/tests/unit/businesslayer/BusinessLayerTest.php b/tests/unit/businesslayer/BusinessLayerTest.php index 2208e34f8..7f3677d18 100644 --- a/tests/unit/businesslayer/BusinessLayerTest.php +++ b/tests/unit/businesslayer/BusinessLayerTest.php @@ -39,7 +39,7 @@ class TestBusinessLayer extends BusinessLayer { } } -class BusinessLayerTest extends \OCA\AppFramework\Utility\TestUtility { +class BusinessLayerTest extends \OCA\News\Utility\TestUtility { protected $api; protected $mapper; diff --git a/tests/unit/businesslayer/FeedBusinessLayerTest.php b/tests/unit/businesslayer/FeedBusinessLayerTest.php index 99ecee9f2..4e35326d6 100644 --- a/tests/unit/businesslayer/FeedBusinessLayerTest.php +++ b/tests/unit/businesslayer/FeedBusinessLayerTest.php @@ -34,7 +34,7 @@ use \OCA\News\Db\Item; use \OCA\News\Fetcher\Fetcher; use \OCA\News\Fetcher\FetcherException; -class FeedBusinessLayerTest extends \OCA\AppFramework\Utility\TestUtility { +class FeedBusinessLayerTest extends \OCA\News\Utility\TestUtility { private $feedMapper; private $feedBusinessLayer; diff --git a/tests/unit/businesslayer/FolderBusinessLayerTest.php b/tests/unit/businesslayer/FolderBusinessLayerTest.php index 398365739..c68d0e768 100644 --- a/tests/unit/businesslayer/FolderBusinessLayerTest.php +++ b/tests/unit/businesslayer/FolderBusinessLayerTest.php @@ -31,7 +31,7 @@ require_once(__DIR__ . "/../../classloader.php"); use \OCA\News\Db\Folder; -class FolderBusinessLayerTest extends \OCA\AppFramework\Utility\TestUtility { +class FolderBusinessLayerTest extends \OCA\News\Utility\TestUtility { private $folderMapper; private $folderBusinessLayer; diff --git a/tests/unit/businesslayer/ItemBusinessLayerTest.php b/tests/unit/businesslayer/ItemBusinessLayerTest.php index 2909dae28..349ad865c 100644 --- a/tests/unit/businesslayer/ItemBusinessLayerTest.php +++ b/tests/unit/businesslayer/ItemBusinessLayerTest.php @@ -33,7 +33,7 @@ use \OCA\News\Db\StatusFlag; use \OCA\News\Db\FeedType; -class ItemBusinessLayerTest extends \OCA\AppFramework\Utility\TestUtility { +class ItemBusinessLayerTest extends \OCA\News\Utility\TestUtility { private $api; private $mapper; diff --git a/tests/unit/businesslayer/StatusFlagTest.php b/tests/unit/businesslayer/StatusFlagTest.php index 2e7b9d4d8..d503b6630 100644 --- a/tests/unit/businesslayer/StatusFlagTest.php +++ b/tests/unit/businesslayer/StatusFlagTest.php @@ -25,13 +25,11 @@ namespace OCA\News\Db; -use \OCA\AppFramework\Utility\TestUtility; - require_once(__DIR__ . "/../../classloader.php"); -class StatusFlagTest extends TestUtility { +class StatusFlagTest extends \OCA\News\Utility\TestUtility { private $statusFlag; -- cgit v1.2.3