summaryrefslogtreecommitdiff
path: root/tests/Unit/Http
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/Http
parent1b3e3b1d65126da909d0013c9c0a0cb3f41639c1 (diff)
Tests: TestCase: Initialize $this->app on every run
Diffstat (limited to 'tests/Unit/Http')
-rw-r--r--tests/Unit/Http/SessionHandlers/DatabaseHandlerTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Unit/Http/SessionHandlers/DatabaseHandlerTest.php b/tests/Unit/Http/SessionHandlers/DatabaseHandlerTest.php
index 14f23c00..0325ccfe 100644
--- a/tests/Unit/Http/SessionHandlers/DatabaseHandlerTest.php
+++ b/tests/Unit/Http/SessionHandlers/DatabaseHandlerTest.php
@@ -4,7 +4,7 @@ namespace Engelsystem\Test\Unit\Http\SessionHandlers;
use Engelsystem\Http\SessionHandlers\DatabaseHandler;
use Engelsystem\Test\Unit\HasDatabase;
-use PHPUnit\Framework\TestCase;
+use Engelsystem\Test\Unit\TestCase;
class DatabaseHandlerTest extends TestCase
{
@@ -90,6 +90,7 @@ class DatabaseHandlerTest extends TestCase
*/
protected function setUp(): void
{
+ parent::setUp();
$this->initDatabase();
}
}