diff options
Diffstat (limited to 'tests/Unit/Models/LogEntryTest.php')
-rw-r--r-- | tests/Unit/Models/LogEntryTest.php | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/tests/Unit/Models/LogEntryTest.php b/tests/Unit/Models/LogEntryTest.php index 0a0efa3c..84111bce 100644 --- a/tests/Unit/Models/LogEntryTest.php +++ b/tests/Unit/Models/LogEntryTest.php @@ -3,14 +3,10 @@ namespace Engelsystem\Test\Unit\Models; use Engelsystem\Models\LogEntry; -use Engelsystem\Test\Unit\HasDatabase; -use PHPUnit\Framework\TestCase; use Psr\Log\LogLevel; -class LogEntryTest extends TestCase +class LogEntryTest extends ModelTest { - use HasDatabase; - /** * @covers \Engelsystem\Models\LogEntry::filter */ @@ -32,12 +28,4 @@ class LogEntryTest extends TestCase $this->assertCount(3, LogEntry::filter(LogLevel::INFO)); $this->assertCount(1, LogEntry::filter('Oops')); } - - /** - * Prepare test - */ - protected function setUp(): void - { - $this->initDatabase(); - } } |