summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/tests/ORM_MPTT_Test.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gallery/tests/ORM_MPTT_Test.php b/modules/gallery/tests/ORM_MPTT_Test.php
index 1ffe1c57..8c850a86 100644
--- a/modules/gallery/tests/ORM_MPTT_Test.php
+++ b/modules/gallery/tests/ORM_MPTT_Test.php
@@ -66,7 +66,8 @@ class ORM_MPTT_Test extends Gallery_Unit_Test_Case {
$album1_2->reload();
$album1_1_1->reload();
- $album1_1_1->move_to($album1_2);
+ $album1_1_1->parent_id = $album1_2->id;
+ $album1_1_1->save();
$album1_1->reload();
$album1_2->reload();