summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-09-30 18:49:33 +0200
committermsquare <msquare@notrademark.de>2016-09-30 18:49:33 +0200
commit6dfefc3bb9f054c472156801e37300059444ecc7 (patch)
tree1917fda87003323126b8d7312b3f54b31f27dee0 /test
parentb87eb49b9324a56da723804e088415d52df77d77 (diff)
small code improvements
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);
+ }
}
}