diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2017-09-19 19:33:24 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2017-09-19 19:45:02 +0200 |
commit | e6ed8a30171b86b452cec21a283373fc14dd5330 (patch) | |
tree | ac50aa8118686421cce0e5970657095d3a2fde73 /test/Logger/EngelsystemLoggerTest.php | |
parent | b3b65743cdc534f7632c8e04e80d3489eec9677c (diff) |
Changed LogEntries table: Use log level instead of nick name
Diffstat (limited to 'test/Logger/EngelsystemLoggerTest.php')
-rw-r--r-- | test/Logger/EngelsystemLoggerTest.php | 7 |
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(); + } } |