summaryrefslogtreecommitdiff
path: root/test/Logger/EngelsystemLoggerTest.php
diff options
context:
space:
mode:
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();
+ }
}