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:
authormattab <matthieu.aubry@gmail.com>2016-04-01 03:00:35 +0300
committermattab <matthieu.aubry@gmail.com>2016-04-01 03:00:35 +0300
commitf5b12ea37556cd0f0da472550652f7314dc83145 (patch)
tree8abda20680773a76ec86415aa4e46eb318db1767 /tests/PHPUnit/Unit/DeprecatedMethodsTest.php
parent6dd9dd1efadb0d84079303558b824ffbb2dfef0e (diff)
Add test to check the deprecated method isApache() will be removed
refs https://github.com/piwik/piwik/commit/4c334be38b8426f54a7e6ab314a82ec25ce49c81#commitcomment-16700320
Diffstat (limited to 'tests/PHPUnit/Unit/DeprecatedMethodsTest.php')
-rw-r--r--tests/PHPUnit/Unit/DeprecatedMethodsTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/PHPUnit/Unit/DeprecatedMethodsTest.php b/tests/PHPUnit/Unit/DeprecatedMethodsTest.php
index c123378941..ff2dd4bcbd 100644
--- a/tests/PHPUnit/Unit/DeprecatedMethodsTest.php
+++ b/tests/PHPUnit/Unit/DeprecatedMethodsTest.php
@@ -23,6 +23,9 @@ class DeprecatedMethodsTest extends \PHPUnit_Framework_TestCase
{
public function test_deprecations()
{
+ $validTill = '2016-09-01';
+ $this->assertDeprecatedMethodIsRemoved('Piwik\SettingsServer', 'isApache', $validTill);
+
$validTill = '2015-03-10';
$this->assertDeprecatedMethodIsRemoved('\Piwik\Period', 'factory', $validTill);
$this->assertDeprecatedMethodIsRemoved('\Piwik\Config', 'getConfigSuperUserForBackwardCompatibility', $validTill);