mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
Fix minor correctness issues
This commit is contained in:
@@ -35,7 +35,7 @@ class Photo_Helper_Test extends Unit_Test_Case {
|
||||
$this->assert_true(is_file($photo->resize_path()), "missing: {$photo->resize_path()}");
|
||||
$this->assert_true(is_file($photo->thumb_path()), "missing: {$photo->thumb_path()}");
|
||||
|
||||
$this->assert_equal($root, $photo->parent_id); // MPTT tests will cover other hierarchy checks
|
||||
$this->assert_equal($root->id, $photo->parent_id); // MPTT tests cover other hierarchy checks
|
||||
$this->assert_equal("$rand.jpg", $photo->name);
|
||||
$this->assert_equal($rand, $photo->title);
|
||||
$this->assert_equal($rand, $photo->description);
|
||||
|
||||
Reference in New Issue
Block a user