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 'tests/PHPUnit/Integration/Plugin/ReleaseChannelsTest.php')
-rw-r--r--tests/PHPUnit/Integration/Plugin/ReleaseChannelsTest.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/PHPUnit/Integration/Plugin/ReleaseChannelsTest.php b/tests/PHPUnit/Integration/Plugin/ReleaseChannelsTest.php
index 7780d3d6fe..704acdc6c6 100644
--- a/tests/PHPUnit/Integration/Plugin/ReleaseChannelsTest.php
+++ b/tests/PHPUnit/Integration/Plugin/ReleaseChannelsTest.php
@@ -88,29 +88,6 @@ class ReleaseChannelsTest extends IntegrationTestCase
);
}
- public function test_setActiveReleaseChannelId_shouldSetChannelIdInGeneralConfig()
- {
- $backupId = Config::getInstance()->General['release_channel'];
-
- $this->channels->setActiveReleaseChannelId('myTestValue');
- $this->assertSame('myTestValue', Config::getInstance()->General['release_channel']);
-
- $this->channels->setActiveReleaseChannelId($backupId);
- }
-
- /**
- * @dataProvider getTestActiveReleaseChannel
- */
- public function test_getActiveReleaseChannel_shouldReturnCorrectReleaseChannelForId($expectedId, $activeId)
- {
- $backupId = Config::getInstance()->General['release_channel'];
- $this->channels->setActiveReleaseChannelId($activeId);
-
- $this->assertSame($expectedId, $this->channels->getActiveReleaseChannel()->getId());
-
- $this->channels->setActiveReleaseChannelId($backupId);
- }
-
public function getTestActiveReleaseChannel()
{
return array(