diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-04-08 14:47:23 +0200 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-04-08 15:23:09 +0200 |
commit | 2a0244df270f20aa38f4685daf7327926ff6fa98 (patch) | |
tree | 21ce502ab135340d28d66ecba1263e4539c1b140 /tests | |
parent | f9ade49c7e22ce1ae06ec92aea871622673826f5 (diff) | |
download | nextcloud-server-2a0244df270f20aa38f4685daf7327926ff6fa98.tar.gz nextcloud-server-2a0244df270f20aa38f4685daf7327926ff6fa98.zip |
Fix mappertest
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/appframework/db/mappertest.php | 7 |
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); } |