diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-11-10 22:59:50 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-11-19 14:53:51 +0100 |
commit | cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f (patch) | |
tree | 2a3ec09e86f13885483286ba5f5213201eb4ee67 /tests/lib/logger.php | |
parent | 76ebd3a050cb3c84b958f071ec559e6bc9cbc847 (diff) | |
download | nextcloud-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.php | 6 |
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'); } |