diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-04-26 11:53:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-26 11:53:21 +0200 |
commit | b7e8ab97e731b77ef2ec519bfb98019516b7f682 (patch) | |
tree | d579e7442832672ab2987f9c9ecf62e79ca09a8d /tests/lib/LoggerTest.php | |
parent | 12c5db90322f61d4d48e1bb534bb94382d17e317 (diff) | |
parent | 38a90130ce425d531a804dff591df4a883de3154 (diff) | |
download | nextcloud-server-b7e8ab97e731b77ef2ec519bfb98019516b7f682.tar.gz nextcloud-server-b7e8ab97e731b77ef2ec519bfb98019516b7f682.zip |
Merge pull request #9308 from nextcloud/proper-ocp-constants
Move log constants to ILogger
Diffstat (limited to 'tests/lib/LoggerTest.php')
-rw-r--r-- | tests/lib/LoggerTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/LoggerTest.php b/tests/lib/LoggerTest.php index 9fdbccc24dc..6b9c9af8639 100644 --- a/tests/lib/LoggerTest.php +++ b/tests/lib/LoggerTest.php @@ -9,6 +9,7 @@ namespace Test; use OC\Log; +use OCP\ILogger; class LoggerTest extends TestCase { @@ -45,7 +46,7 @@ class LoggerTest extends TestCase { $this->config->expects($this->any()) ->method('getValue') ->will(($this->returnValueMap([ - ['loglevel', \OCP\Util::WARN, \OCP\Util::WARN], + ['loglevel', ILogger::WARN, ILogger::WARN], ['log.condition', [], ['apps' => ['files']]] ]))); $logger = $this->logger; |