summaryrefslogtreecommitdiff
path: root/core/tests/Item_Test.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/tests/Item_Test.php')
-rw-r--r--core/tests/Item_Test.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/tests/Item_Test.php b/core/tests/Item_Test.php
index f83c60f1..d077932f 100644
--- a/core/tests/Item_Test.php
+++ b/core/tests/Item_Test.php
@@ -21,4 +21,9 @@ class Item_Test extends Unit_Test_Case {
public function create_item_test() {
ORM::factory('item');
}
+
+ public function create_root_item_test() {
+ $root = ORM::factory('item')->find(1);
+ $this->assert_equal("Gallery", $root->title);
+ }
}