summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-09-07 19:36:22 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-09-07 20:42:37 +0200
commit4066f04c4b74c54450559042256e910a19e4a68b (patch)
tree193c9748f1b9062962b86cfad8de5e4d93022290
parent3dc840cadf9526806d094dbda0deb39711f7547b (diff)
downloadnextcloud-server-4066f04c4b74c54450559042256e910a19e4a68b.tar.gz
nextcloud-server-4066f04c4b74c54450559042256e910a19e4a68b.zip
Fix getMock MapperTestUtility
-rw-r--r--tests/lib/AppFramework/Db/MapperTestUtility.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/AppFramework/Db/MapperTestUtility.php b/tests/lib/AppFramework/Db/MapperTestUtility.php
index 69f0ad4eb67..bbc9b56701e 100644
--- a/tests/lib/AppFramework/Db/MapperTestUtility.php
+++ b/tests/lib/AppFramework/Db/MapperTestUtility.php
@@ -49,7 +49,7 @@ abstract class MapperTestUtility extends \Test\TestCase {
->disableOriginalConstructor()
->getMock();
- $this->query = $this->getMock('\PDOStatement');
+ $this->query = $this->createMock('\PDOStatement');
$this->queryAt = 0;
$this->prepareAt = 0;
$this->iterators = [];