From 7183da78c620eba60b33a4c4ad7ea5b206b6a69e Mon Sep 17 00:00:00 2001 From: Daniel Schaal Date: Fri, 18 Nov 2016 16:03:09 +0100 Subject: Use createMock() instead of deprecated getMock() (#62) --- tests/Unit/Db/MapperTestUtility.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = []; -- cgit v1.2.3