summaryrefslogtreecommitdiffstats
path: root/tests/lib/hooks/basicemitter.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/hooks/basicemitter.php')
-rw-r--r--tests/lib/hooks/basicemitter.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/lib/hooks/basicemitter.php b/tests/lib/hooks/basicemitter.php
index 0eae730d030..899d3ecd3b3 100644
--- a/tests/lib/hooks/basicemitter.php
+++ b/tests/lib/hooks/basicemitter.php
@@ -31,13 +31,14 @@ class DummyEmitter extends \OC\Hooks\BasicEmitter {
class EmittedException extends \Exception {
}
-class BasicEmitter extends \PHPUnit_Framework_TestCase {
+class BasicEmitter extends \Test\TestCase {
/**
* @var \OC\Hooks\Emitter $emitter
*/
protected $emitter;
- public function setUp() {
+ protected function setUp() {
+ parent::setUp();
$this->emitter = new DummyEmitter();
}