summaryrefslogtreecommitdiff
path: root/tests/Feature/Model/RoomModelTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Feature/Model/RoomModelTest.php')
-rw-r--r--tests/Feature/Model/RoomModelTest.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/Feature/Model/RoomModelTest.php b/tests/Feature/Model/RoomModelTest.php
index 216c87da..9908082a 100644
--- a/tests/Feature/Model/RoomModelTest.php
+++ b/tests/Feature/Model/RoomModelTest.php
@@ -8,11 +8,17 @@ class RoomModelTest extends TestCase
{
private $room_id = null;
+ /**
+ * @covers \Room_create
+ */
public function createRoom()
{
$this->room_id = Room_create('test', false, null, null);
}
+ /**
+ * @covers \Room
+ */
public function testRoom()
{
$this->createRoom();
@@ -26,7 +32,10 @@ class RoomModelTest extends TestCase
$this->assertEmpty(Room(-1));
}
- public function tearDown()
+ /**
+ * Cleanup
+ */
+ protected function tearDown(): void
{
if ($this->room_id != null) {
Room_delete($this->room_id);