summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/model/Room_model_test.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/model/Room_model_test.php b/test/model/Room_model_test.php
index d95c5787..a36a9d9f 100644
--- a/test/model/Room_model_test.php
+++ b/test/model/Room_model_test.php
@@ -24,8 +24,9 @@ class Room_model_test extends PHPUnit_Framework_TestCase {
* @after
*/
public function teardown() {
- if ($this->room_id != null)
+ if ($this->room_id != null) {
Room_delete($this->room_id);
+ }
}
}