summaryrefslogtreecommitdiff
path: root/tests/Feature/Model
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Feature/Model')
-rw-r--r--tests/Feature/Model/LogEntriesModelTest.php9
-rw-r--r--tests/Feature/Model/RoomModelTest.php5
2 files changed, 2 insertions, 12 deletions
diff --git a/tests/Feature/Model/LogEntriesModelTest.php b/tests/Feature/Model/LogEntriesModelTest.php
index 036f5692..c032a94c 100644
--- a/tests/Feature/Model/LogEntriesModelTest.php
+++ b/tests/Feature/Model/LogEntriesModelTest.php
@@ -2,16 +2,11 @@
namespace Engelsystem\Test\Feature\Model;
-use PHPUnit\Framework\TestCase;
+use Engelsystem\Test\Feature\ApplicationFeatureTest;
use Psr\Log\LogLevel;
-class LogEntriesModelTest extends TestCase
+class LogEntriesModelTest extends ApplicationFeatureTest
{
- public static function setUpBeforeClass()
- {
- require_once __DIR__ . '/../../../includes/engelsystem.php';
- }
-
public function testCreateLogEntry()
{
LogEntries_clear_all();
diff --git a/tests/Feature/Model/RoomModelTest.php b/tests/Feature/Model/RoomModelTest.php
index 22aa4b8e..216c87da 100644
--- a/tests/Feature/Model/RoomModelTest.php
+++ b/tests/Feature/Model/RoomModelTest.php
@@ -8,11 +8,6 @@ class RoomModelTest extends TestCase
{
private $room_id = null;
- public static function setUpBeforeClass()
- {
- require_once __DIR__ . '/../../../includes/engelsystem.php';
- }
-
public function createRoom()
{
$this->room_id = Room_create('test', false, null, null);