summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBot <bot@myigel.name>2017-01-02 15:43:36 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2017-01-02 15:49:53 +0100
commitd71e7bbfad2f07f82df0c515608996d250fd4182 (patch)
tree5083a17b218c08b3a699a0bf15bec926cc2dd185 /test
parent7313e15ce8236e19331fb6639a3a5b97c8f06ecd (diff)
Formatting
Diffstat (limited to 'test')
-rw-r--r--test/model/LogEntriesModelTest.php20
-rw-r--r--test/model/RoomModelTest.php26
2 files changed, 23 insertions, 23 deletions
diff --git a/test/model/LogEntriesModelTest.php b/test/model/LogEntriesModelTest.php
index 2be1bbc1..4da6fd4b 100644
--- a/test/model/LogEntriesModelTest.php
+++ b/test/model/LogEntriesModelTest.php
@@ -13,9 +13,9 @@ class LogEntriesModelTest extends \PHPUnit_Framework_TestCase
{
$count = count(LogEntries());
$this->assertNotFalse(LogEntry_create('test', 'test_LogEntry_create'));
-
- // There should be one more log entry now
- $this->assertEquals(count(LogEntries()), $count + 1);
+
+ // There should be one more log entry now
+ $this->assertEquals(count(LogEntries()), $count + 1);
}
public function test_LogEntries_clear_all()
@@ -26,11 +26,11 @@ class LogEntriesModelTest extends \PHPUnit_Framework_TestCase
$this->assertEquals(count(LogEntries()), 0);
}
- /**
- * @after
- */
- public function teardown()
- {
- LogEntries_clear_all();
- }
+ /**
+ * @after
+ */
+ public function teardown()
+ {
+ LogEntries_clear_all();
+ }
}
diff --git a/test/model/RoomModelTest.php b/test/model/RoomModelTest.php
index 43b2f384..9c91939d 100644
--- a/test/model/RoomModelTest.php
+++ b/test/model/RoomModelTest.php
@@ -14,23 +14,23 @@ class RoomModelTest extends \PHPUnit_Framework_TestCase
public function test_Room()
{
$this->create_Room();
-
+
$room = Room($this->room_id);
-
+
$this->assertNotFalse($room);
$this->assertNotNull($room);
$this->assertEquals($room['Name'], 'test');
-
- $this->assertNull(Room(- 1));
+
+ $this->assertNull(Room(-1));
}
- /**
- * @after
- */
- public function teardown()
- {
- if ($this->room_id != null) {
- Room_delete($this->room_id);
- }
- }
+ /**
+ * @after
+ */
+ public function teardown()
+ {
+ if ($this->room_id != null) {
+ Room_delete($this->room_id);
+ }
+ }
}