diff options
author | Romain LE DISEZ <romain.git@ledisez.net> | 2009-07-25 19:06:54 +0200 |
---|---|---|
committer | Romain LE DISEZ <romain.git@ledisez.net> | 2009-07-25 19:06:54 +0200 |
commit | 23bb6eb7e35637c8a2124216dbb6d3246ad3d702 (patch) | |
tree | ff81a60c9deadcc1edda801d4680f567ee3a9b18 /modules/gallery/tests/Photo_Helper_Test.php | |
parent | 0aa3ec3ae90a101b2bfc1b395a1749551da22287 (diff) |
Rename columns that use reserved SQL words : items.left and items.right
Diffstat (limited to 'modules/gallery/tests/Photo_Helper_Test.php')
-rw-r--r-- | modules/gallery/tests/Photo_Helper_Test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/tests/Photo_Helper_Test.php b/modules/gallery/tests/Photo_Helper_Test.php index cc1f20da..c0641ef4 100644 --- a/modules/gallery/tests/Photo_Helper_Test.php +++ b/modules/gallery/tests/Photo_Helper_Test.php @@ -43,8 +43,8 @@ class Photo_Helper_Test extends Unit_Test_Case { $this->assert_equal($image_info[0], $photo->width); $this->assert_equal($image_info[1], $photo->height); - $this->assert_equal($photo->parent()->right - 2, $photo->left); - $this->assert_equal($photo->parent()->right - 1, $photo->right); + $this->assert_equal($photo->parent()->right_ptr - 2, $photo->left_ptr); + $this->assert_equal($photo->parent()->right_ptr - 1, $photo->right_ptr); } public function create_conflicting_photo_test() { |