]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix getMock MapperTestUtility
authorRoeland Jago Douma <roeland@famdouma.nl>
Wed, 7 Sep 2016 17:36:22 +0000 (19:36 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Wed, 7 Sep 2016 18:42:37 +0000 (20:42 +0200)
tests/lib/AppFramework/Db/MapperTestUtility.php

index 69f0ad4eb67bfe86d8fb38927daa880b96e04f84..bbc9b56701e79017b9fa6643f0fca4394e8670c7 100644 (file)
@@ -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 = [];