summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-04-08 14:47:23 +0200
committerRoeland Jago Douma <rullzer@owncloud.com>2016-04-08 15:23:09 +0200
commit2a0244df270f20aa38f4685daf7327926ff6fa98 (patch)
tree21ce502ab135340d28d66ecba1263e4539c1b140
parentf9ade49c7e22ce1ae06ec92aea871622673826f5 (diff)
downloadnextcloud-server-2a0244df270f20aa38f4685daf7327926ff6fa98.tar.gz
nextcloud-server-2a0244df270f20aa38f4685daf7327926ff6fa98.zip
Fix mappertest
-rw-r--r--tests/lib/appframework/db/mappertest.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/lib/appframework/db/mappertest.php b/tests/lib/appframework/db/mappertest.php
index c8b999ad62c..108e4eee28e 100644
--- a/tests/lib/appframework/db/mappertest.php
+++ b/tests/lib/appframework/db/mappertest.php
@@ -22,10 +22,11 @@
*/
-namespace OCP\AppFramework\Db;
+namespace Test\AppFramework\Db;
use \OCP\IDBConnection;
-use Test\AppFramework\Db\MapperTestUtility;
+use \OCP\AppFramework\Db\Entity;
+use \OCP\AppFramework\Db\Mapper;
/**
* @method integer getId()
@@ -236,7 +237,7 @@ class MapperTest extends MapperTestUtility {
$entity->resetUpdatedFields();
$this->db->expects($this->never())
- ->method('prepareQuery');
+ ->method('prepare');
$this->mapper->update($entity);
}