summaryrefslogtreecommitdiffstats
path: root/tests/lib/logger.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-11-10 22:59:50 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-11-19 14:53:51 +0100
commitcb3a598cdb238f9ce74dce80ef9e59cdfc531a4f (patch)
tree2a3ec09e86f13885483286ba5f5213201eb4ee67 /tests/lib/logger.php
parent76ebd3a050cb3c84b958f071ec559e6bc9cbc847 (diff)
downloadnextcloud-server-cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f.tar.gz
nextcloud-server-cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f.zip
Make root tests extend the \Test\TestCase
Diffstat (limited to 'tests/lib/logger.php')
-rw-r--r--tests/lib/logger.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/lib/logger.php b/tests/lib/logger.php
index fcdf5b58670..700a847917b 100644
--- a/tests/lib/logger.php
+++ b/tests/lib/logger.php
@@ -10,14 +10,16 @@ namespace Test;
use OC\Log;
-class Logger extends \PHPUnit_Framework_TestCase {
+class Logger extends TestCase {
/**
* @var \OCP\ILogger
*/
private $logger;
static private $logs = array();
- public function setUp() {
+ protected function setUp() {
+ parent::setUp();
+
self::$logs = array();
$this->logger = new Log('Test\Logger');
}