Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CoreUpdater/Test/Integration/UpdateCommunicationTest.php')
-rw-r--r--plugins/CoreUpdater/Test/Integration/UpdateCommunicationTest.php4
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();
}
}