Rename columns that use reserved SQL words : items.left and items.right

This commit is contained in:
Romain LE DISEZ
2009-07-25 19:06:54 +02:00
parent 0aa3ec3ae9
commit 23bb6eb7e3
11 changed files with 102 additions and 162 deletions

View File

@@ -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() {