diff options
Diffstat (limited to 'plugins/CoreUpdater/Test/Integration/UpdateCommunicationTest.php')
-rw-r--r-- | plugins/CoreUpdater/Test/Integration/UpdateCommunicationTest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/CoreUpdater/Test/Integration/UpdateCommunicationTest.php b/plugins/CoreUpdater/Test/Integration/UpdateCommunicationTest.php index d43e11ebf4..5b4a03cb37 100644 --- a/plugins/CoreUpdater/Test/Integration/UpdateCommunicationTest.php +++ b/plugins/CoreUpdater/Test/Integration/UpdateCommunicationTest.php @@ -141,6 +141,8 @@ http://piwik.org/contact/"; */ private function getCommunicationMock($methodsToOverwrite) { - return $this->getMock('\Piwik\Plugins\CoreUpdater\UpdateCommunication', $methodsToOverwrite); + return $this->getMockBuilder('\Piwik\Plugins\CoreUpdater\UpdateCommunication') + ->setMethods($methodsToOverwrite) + ->getMock(); } } |