Fix mappertest

This commit is contained in:
Roeland Jago Douma 2016-04-08 14:47:23 +02:00
parent f9ade49c7e
commit 2a0244df27
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
1 changed files with 4 additions and 3 deletions

View File

@ -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);
}