diff options
author | Daniel Schaal <daniel@schaal.email> | 2016-11-18 18:03:09 +0300 |
---|---|---|
committer | Bernhard Posselt <BernhardPosselt@users.noreply.github.com> | 2016-11-18 18:03:09 +0300 |
commit | 7183da78c620eba60b33a4c4ad7ea5b206b6a69e (patch) | |
tree | 9288913c3cf4334c7201899921300951f2f1605d /tests | |
parent | 7234b2b5e7b7ccab35561a134b837244a98d755c (diff) |
Use createMock() instead of deprecated getMock() (#62)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Unit/Db/MapperTestUtility.php | 2 |
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 = []; |