summaryrefslogtreecommitdiff
path: root/tests/Unit/Models/LogEntryTest.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-10-08 13:57:50 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2019-10-08 13:57:50 +0200
commite124b41977504067f6e1b6b3bf2e39c9b1d31324 (patch)
tree1e212ce371517e9a5edbd7225e681f79b43c8d57 /tests/Unit/Models/LogEntryTest.php
parent1b3e3b1d65126da909d0013c9c0a0cb3f41639c1 (diff)
Tests: TestCase: Initialize $this->app on every run
Diffstat (limited to 'tests/Unit/Models/LogEntryTest.php')
-rw-r--r--tests/Unit/Models/LogEntryTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Unit/Models/LogEntryTest.php b/tests/Unit/Models/LogEntryTest.php
index 0a0efa3c..4b772cd0 100644
--- a/tests/Unit/Models/LogEntryTest.php
+++ b/tests/Unit/Models/LogEntryTest.php
@@ -4,7 +4,7 @@ namespace Engelsystem\Test\Unit\Models;
use Engelsystem\Models\LogEntry;
use Engelsystem\Test\Unit\HasDatabase;
-use PHPUnit\Framework\TestCase;
+use Engelsystem\Test\Unit\TestCase;
use Psr\Log\LogLevel;
class LogEntryTest extends TestCase
@@ -38,6 +38,7 @@ class LogEntryTest extends TestCase
*/
protected function setUp(): void
{
+ parent::setUp();
$this->initDatabase();
}
}