diff options
author | diosmosis <benaka@piwik.pro> | 2015-06-25 12:43:03 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-06-25 12:43:03 +0300 |
commit | 210e7efb5763bb4a0acf0d00dd25257a8ea28689 (patch) | |
tree | f2b8da21b0c5ae63a94e107f38e939f02e309e85 /tests/PHPUnit/Framework/TestingEnvironmentManipulator.php | |
parent | 9a2f4fd1363348a6c5120859a6929d780ba9256e (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.php | 2 |
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(); } |