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-06-25 12:43:03 +0300
committerdiosmosis <benaka@piwik.pro>2015-06-25 12:43:03 +0300
commit210e7efb5763bb4a0acf0d00dd25257a8ea28689 (patch)
treef2b8da21b0c5ae63a94e107f38e939f02e309e85 /tests/PHPUnit/Framework/TestingEnvironmentManipulator.php
parent9a2f4fd1363348a6c5120859a6929d780ba9256e (diff)
Fix bug in TestingEnvironmentManipulator, don't use method_exists on instance to check for provideContainerConfigBeforeClass, use on class name since it's static.
Diffstat (limited to 'tests/PHPUnit/Framework/TestingEnvironmentManipulator.php')
-rw-r--r--tests/PHPUnit/Framework/TestingEnvironmentManipulator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/Framework/TestingEnvironmentManipulator.php b/tests/PHPUnit/Framework/TestingEnvironmentManipulator.php
index c6fdd4c7a2..a646b35a95 100644
--- a/tests/PHPUnit/Framework/TestingEnvironmentManipulator.php
+++ b/tests/PHPUnit/Framework/TestingEnvironmentManipulator.php
@@ -148,7 +148,7 @@ class TestingEnvironmentManipulator implements EnvironmentManipulator
$diConfigs[] = $testCaseClass::$fixture->provideContainerConfig();
}
- if (method_exists($testCase, 'provideContainerConfigBeforeClass')) {
+ if (method_exists($testCaseClass, 'provideContainerConfigBeforeClass')) {
$diConfigs[] = $testCaseClass::provideContainerConfigBeforeClass();
}