summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Schaal <daniel@schaal.email>2016-11-18 16:03:09 +0100
committerBernhard Posselt <BernhardPosselt@users.noreply.github.com>2016-11-18 16:03:09 +0100
commit7183da78c620eba60b33a4c4ad7ea5b206b6a69e (patch)
tree9288913c3cf4334c7201899921300951f2f1605d
parent7234b2b5e7b7ccab35561a134b837244a98d755c (diff)
Use createMock() instead of deprecated getMock() (#62)
-rw-r--r--tests/Unit/Db/MapperTestUtility.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Unit/Db/MapperTestUtility.php b/tests/Unit/Db/MapperTestUtility.php
index de07f136c..474def163 100644
--- a/tests/Unit/Db/MapperTestUtility.php
+++ b/tests/Unit/Db/MapperTestUtility.php
@@ -49,7 +49,7 @@ abstract class MapperTestUtility extends \PHPUnit_Framework_TestCase {
->disableOriginalConstructor()
->getMock();
- $this->query = $this->getMock('\PDOStatement');
+ $this->query = $this->createMock('\PDOStatement');
$this->queryAt = 0;
$this->prepareAt = 0;
$this->iterators = [];