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/integration/db/ItemMapperIntegrationTest.php | |
parent | fcef0800a24818305e8a52761b05f87e13206689 (diff) |
ported to owncloud internal appframework classes, confused with how to start the app and define deps
Diffstat (limited to 'tests/integration/db/ItemMapperIntegrationTest.php')
-rw-r--r-- | tests/integration/db/ItemMapperIntegrationTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/db/ItemMapperIntegrationTest.php b/tests/integration/db/ItemMapperIntegrationTest.php index c883473bf..186dca14f 100644 --- a/tests/integration/db/ItemMapperIntegrationTest.php +++ b/tests/integration/db/ItemMapperIntegrationTest.php @@ -25,7 +25,7 @@ namespace OCA\News\Db; -use \OCA\AppFramework\Utility\MapperTestUtility; +use \OCA\News\Utility\MapperTestUtility; require_once(__DIR__ . "/../../classloader.php"); @@ -64,7 +64,7 @@ class ItemMapperIntegrationTest extends MapperTestUtility { return $db->prepare($sql); }; - $this->api = $this->getMock('OCA\AppFramework\Core\API', + $this->api = $this->getMock('OCA\News\Core\API', array('prepareQuery', 'getInsertId'), array('news')); $this->api->expects($this->any()) ->method('prepareQuery') |