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:
authordiosmosis <benaka@piwik.pro>2015-09-25 11:42:20 +0300
committerdiosmosis <benaka@piwik.pro>2015-09-25 11:42:20 +0300
commit844fe2dec7491fe3472f3b84a9408d79807f69b8 (patch)
tree575d2206aa39309cd44a5bc350c656e6479f0fe2 /plugins/SegmentEditor/tests/Unit
parenta0e37cb91b8c4c9b833bbe083f34a3879f260a40 (diff)
Fix test failures.
Diffstat (limited to 'plugins/SegmentEditor/tests/Unit')
-rw-r--r--plugins/SegmentEditor/tests/Unit/SegmentQueryDecoratorTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SegmentEditor/tests/Unit/SegmentQueryDecoratorTest.php b/plugins/SegmentEditor/tests/Unit/SegmentQueryDecoratorTest.php
index 4c86f54fbe..6ecad82f2f 100644
--- a/plugins/SegmentEditor/tests/Unit/SegmentQueryDecoratorTest.php
+++ b/plugins/SegmentEditor/tests/Unit/SegmentQueryDecoratorTest.php
@@ -82,8 +82,8 @@ class SegmentQueryDecoratorTest extends \PHPUnit_Framework_TestCase
private function getMockSegmentEditorService()
{
$mock = $this->getMock('Piwik\Plugins\SegmentEditor\Services\StoredSegmentService',
- array('getSegmentsToAutoArchive'), array(), '', $callOriginalConstructor = false);
- $mock->expects($this->any())->method('getSegmentsToAutoArchive')->willReturn(self::$storedSegments);
+ array('getAllSegmentsAndIgnoreVisibility'), array(), '', $callOriginalConstructor = false);
+ $mock->expects($this->any())->method('getAllSegmentsAndIgnoreVisibility')->willReturn(self::$storedSegments);
return $mock;
}
}