summaryrefslogtreecommitdiff
path: root/test/Logger/EngelsystemLoggerTest.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2017-09-19 19:33:24 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2017-09-19 19:45:02 +0200
commite6ed8a30171b86b452cec21a283373fc14dd5330 (patch)
treeac50aa8118686421cce0e5970657095d3a2fde73 /test/Logger/EngelsystemLoggerTest.php
parentb3b65743cdc534f7632c8e04e80d3489eec9677c (diff)
Changed LogEntries table: Use log level instead of nick name
Diffstat (limited to 'test/Logger/EngelsystemLoggerTest.php')
-rw-r--r--test/Logger/EngelsystemLoggerTest.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/Logger/EngelsystemLoggerTest.php b/test/Logger/EngelsystemLoggerTest.php
index da10800d..2219cdb2 100644
--- a/test/Logger/EngelsystemLoggerTest.php
+++ b/test/Logger/EngelsystemLoggerTest.php
@@ -66,7 +66,7 @@ class EngelsystemLoggerTest extends TestCase
$entry = $this->getLastEntry();
$this->assertEquals('My username is Foo', $entry['message']);
- $this->assertContains(LogLevel::INFO, $entry['nick'], '', true);
+ $this->assertEquals(LogLevel::INFO, $entry['level']);
foreach (
[
@@ -123,4 +123,9 @@ class EngelsystemLoggerTest extends TestCase
return $entry;
}
+
+ public function tearDown()
+ {
+ LogEntries_clear_all();
+ }
}