diff options
author | diosmosis <benaka@piwik.pro> | 2015-09-25 11:42:20 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-09-25 11:42:20 +0300 |
commit | 844fe2dec7491fe3472f3b84a9408d79807f69b8 (patch) | |
tree | 575d2206aa39309cd44a5bc350c656e6479f0fe2 /plugins/SegmentEditor/tests/Unit | |
parent | a0e37cb91b8c4c9b833bbe083f34a3879f260a40 (diff) |
Fix test failures.
Diffstat (limited to 'plugins/SegmentEditor/tests/Unit')
-rw-r--r-- | plugins/SegmentEditor/tests/Unit/SegmentQueryDecoratorTest.php | 4 |
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; } } |