|
|
@ -1,9 +1,11 @@
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
|
|
namespace Engelsystem\Test;
|
|
|
|
namespace Engelsystem\Test;
|
|
|
|
|
|
|
|
|
|
|
|
class RoomModelTest extends \PHPUnit_Framework_TestCase
|
|
|
|
use \PHPUnit\Framework\TestCase;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class RoomModelTest extends TestCase
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
private $room_id = null;
|
|
|
|
private $room_id = null;
|
|
|
|
|
|
|
|
|
|
|
|
public function create_Room()
|
|
|
|
public function create_Room()
|
|
|
@ -21,7 +23,7 @@ class RoomModelTest extends \PHPUnit_Framework_TestCase
|
|
|
|
$this->assertNotNull($room);
|
|
|
|
$this->assertNotNull($room);
|
|
|
|
$this->assertEquals($room['Name'], 'test');
|
|
|
|
$this->assertEquals($room['Name'], 'test');
|
|
|
|
|
|
|
|
|
|
|
|
$this->assertNull(Room(-1));
|
|
|
|
$this->assertNull(Room(- 1));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|