diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-09 01:44:12 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-09 22:52:26 +0200 |
commit | 21bd539847f33c3889c4f58f14afd672f54a410a (patch) | |
tree | d6ff27e38727197b60d1c2c47968b7f64d4f5c2f /tests/unit/db | |
parent | fcef0800a24818305e8a52761b05f87e13206689 (diff) |
ported to owncloud internal appframework classes, confused with how to start the app and define deps
Diffstat (limited to 'tests/unit/db')
-rw-r--r-- | tests/unit/db/FeedMapperTest.php | 2 | ||||
-rw-r--r-- | tests/unit/db/FolderMapperTest.php | 2 | ||||
-rw-r--r-- | tests/unit/db/ItemMapperTest.php | 2 | ||||
-rw-r--r-- | tests/unit/db/MapperFactoryTest.php | 2 | ||||
-rw-r--r-- | tests/unit/db/MapperTest.php | 4 | ||||
-rw-r--r-- | tests/unit/db/postgres/ItemMapperTest.php | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/tests/unit/db/FeedMapperTest.php b/tests/unit/db/FeedMapperTest.php index d38d4c230..c424e57e7 100644 --- a/tests/unit/db/FeedMapperTest.php +++ b/tests/unit/db/FeedMapperTest.php @@ -28,7 +28,7 @@ namespace OCA\News\Db; require_once(__DIR__ . "/../../classloader.php"); -class FeedMapperTest extends \OCA\AppFramework\Utility\MapperTestUtility { +class FeedMapperTest extends \OCA\News\Utility\MapperTestUtility { private $mapper; private $feeds; diff --git a/tests/unit/db/FolderMapperTest.php b/tests/unit/db/FolderMapperTest.php index e4d1e5542..b27cf80ab 100644 --- a/tests/unit/db/FolderMapperTest.php +++ b/tests/unit/db/FolderMapperTest.php @@ -28,7 +28,7 @@ namespace OCA\News\Db; require_once(__DIR__ . "/../../classloader.php"); -class FolderMapperTest extends \OCA\AppFramework\Utility\MapperTestUtility { +class FolderMapperTest extends \OCA\News\Utility\MapperTestUtility { private $folderMapper; private $folders; diff --git a/tests/unit/db/ItemMapperTest.php b/tests/unit/db/ItemMapperTest.php index cfef4c929..fbb77ea12 100644 --- a/tests/unit/db/ItemMapperTest.php +++ b/tests/unit/db/ItemMapperTest.php @@ -28,7 +28,7 @@ namespace OCA\News\Db; require_once(__DIR__ . "/../../classloader.php"); -class ItemMapperTest extends \OCA\AppFramework\Utility\MapperTestUtility { +class ItemMapperTest extends \OCA\News\Utility\MapperTestUtility { private $mapper; private $items; diff --git a/tests/unit/db/MapperFactoryTest.php b/tests/unit/db/MapperFactoryTest.php index c553b2aff..51e70f526 100644 --- a/tests/unit/db/MapperFactoryTest.php +++ b/tests/unit/db/MapperFactoryTest.php @@ -33,7 +33,7 @@ class MapperFactoryTest extends \PHPUnit_Framework_TestCase { public function setUp() { - $this->api = $this->getMockBuilder('\OCA\AppFramework\Core\API') + $this->api = $this->getMockBuilder('\OCA\News\Core\API') ->disableOriginalConstructor() ->getMock(); } diff --git a/tests/unit/db/MapperTest.php b/tests/unit/db/MapperTest.php index b41348194..3e483d764 100644 --- a/tests/unit/db/MapperTest.php +++ b/tests/unit/db/MapperTest.php @@ -24,8 +24,8 @@ namespace OCA\News\Db; -use OCA\AppFramework\Core\API; -use OCA\AppFramework\Utility\MapperTestUtility; +use OCA\News\Core\API; +use OCA\News\Utility\MapperTestUtility; require_once(__DIR__ . "/../../classloader.php"); diff --git a/tests/unit/db/postgres/ItemMapperTest.php b/tests/unit/db/postgres/ItemMapperTest.php index 1e3207387..ff8651233 100644 --- a/tests/unit/db/postgres/ItemMapperTest.php +++ b/tests/unit/db/postgres/ItemMapperTest.php @@ -32,7 +32,7 @@ use \OCA\News\Db\StatusFlag; require_once(__DIR__ . "/../../../classloader.php"); -class ItemMapperTest extends \OCA\AppFramework\Utility\MapperTestUtility { +class ItemMapperTest extends \OCA\News\Utility\MapperTestUtility { private $mapper; private $items; |