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-05-21 00:31:48 +0300
committerdiosmosis <benaka@piwik.pro>2015-05-21 18:32:41 +0300
commit10962b88b7138fb4ec03f6f8c00cd6edc988e4c6 (patch)
tree3a101e1bb8429a0a9838765874b45febfd75ac98 /tests/PHPUnit/Framework/TestCase
parent2b02da9f4d69f7e30202906aaaf24a3133eb49e5 (diff)
Move EventDispatcher service to DI and remove EventDispatcher::clearAllObservers method. This method is only used to 'reset' the EventDispatcher, and is no longer necessary thanks to DI.
Diffstat (limited to 'tests/PHPUnit/Framework/TestCase')
-rwxr-xr-xtests/PHPUnit/Framework/TestCase/UnitTestCase.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/PHPUnit/Framework/TestCase/UnitTestCase.php b/tests/PHPUnit/Framework/TestCase/UnitTestCase.php
index 275f91eed8..fa7e987954 100755
--- a/tests/PHPUnit/Framework/TestCase/UnitTestCase.php
+++ b/tests/PHPUnit/Framework/TestCase/UnitTestCase.php
@@ -35,7 +35,6 @@ abstract class UnitTestCase extends \PHPUnit_Framework_TestCase
$this->initEnvironment();
File::reset();
- EventDispatcher::getInstance()->clearAllObservers();
}
public function tearDown()