summaryrefslogtreecommitdiff
path: root/core/tests/ORM_MPTT_Test.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-05 07:47:19 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-05 07:47:19 +0000
commite44ff9bb6054f83d266a28f4e5418ff9b98a5b80 (patch)
tree2ff6b454d82542218ba0a160993ecc2466cbf958 /core/tests/ORM_MPTT_Test.php
parentd21f3437e64fb67f306eaec40e778e77176796ff (diff)
ORM_MPTT::parents() should not include the node itself.
Diffstat (limited to 'core/tests/ORM_MPTT_Test.php')
-rw-r--r--core/tests/ORM_MPTT_Test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tests/ORM_MPTT_Test.php b/core/tests/ORM_MPTT_Test.php
index 208c199f..a543c1cd 100644
--- a/core/tests/ORM_MPTT_Test.php
+++ b/core/tests/ORM_MPTT_Test.php
@@ -50,7 +50,7 @@ class ORM_MPTT_Test extends Unit_Test_Case {
foreach ($inner->parents() as $parent) {
$parent_ids[] = $parent->id;
}
- $this->assert_equal(array(1, $outer->id, $inner->id), $parent_ids);
+ $this->assert_equal(array(1, $outer->id), $parent_ids);
}
public function children_test() {