diff options
author | diosmosis <benaka@piwik.pro> | 2015-05-21 00:31:48 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-05-21 18:32:41 +0300 |
commit | 10962b88b7138fb4ec03f6f8c00cd6edc988e4c6 (patch) | |
tree | 3a101e1bb8429a0a9838765874b45febfd75ac98 /tests/PHPUnit/Framework/TestCase | |
parent | 2b02da9f4d69f7e30202906aaaf24a3133eb49e5 (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-x | tests/PHPUnit/Framework/TestCase/UnitTestCase.php | 1 |
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() |