diff options
Diffstat (limited to 'tests/lib/Log/FileTest.php')
-rw-r--r-- | tests/lib/Log/FileTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Log/FileTest.php b/tests/lib/Log/FileTest.php index 33f0ee8dd19..0c50c6c08ba 100644 --- a/tests/lib/Log/FileTest.php +++ b/tests/lib/Log/FileTest.php @@ -41,7 +41,7 @@ class FileTest extends TestCase $this->restore_logdateformat = $config->getSystemValue('logdateformat'); $config->setSystemValue("logfile", $config->getSystemValue('datadirectory') . "/logtest"); - $this->logFile = new File($config->getSystemValue('datadirectory') . '/logtest'); + $this->logFile = new File($config->getSystemValue('datadirectory') . '/logtest', '', $config); } protected function tearDown() { $config = \OC::$server->getConfig(); @@ -55,7 +55,7 @@ class FileTest extends TestCase } else { $config->deleteSystemValue("logdateformat"); } - $this->logFile = new File($this->restore_logfile); + $this->logFile = new File($this->restore_logfile, '', $config); parent::tearDown(); } |