diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-27 16:15:00 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-27 16:17:29 -0700 |
commit | 88a3d43ba9b9377ba6bbe21a4547220ae3a37276 (patch) | |
tree | bcdfaa4188a7e9a8e698c895f84f0ca899005391 /modules/gallery/tests/Movie_Helper_Test.php | |
parent | 12fe58d997d2066dc362fd393a18b4e5da190513 (diff) |
Update all references to the core application to now point to the
gallery module. This type of mass update is prone to some small bugs.
Diffstat (limited to 'modules/gallery/tests/Movie_Helper_Test.php')
-rw-r--r-- | modules/gallery/tests/Movie_Helper_Test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/tests/Movie_Helper_Test.php b/modules/gallery/tests/Movie_Helper_Test.php index b92ef3f8..627651bb 100644 --- a/modules/gallery/tests/Movie_Helper_Test.php +++ b/modules/gallery/tests/Movie_Helper_Test.php @@ -22,7 +22,7 @@ class Movie_Helper_Test extends Unit_Test_Case { $rand = rand(); $root = ORM::factory("item", 1); try { - $movie = movie::create($root, DOCROOT . "core/tests/test.jpg", "$rand/.jpg", $rand, $rand); + $movie = movie::create($root, MODPATH . "gallery/tests/test.jpg", "$rand/.jpg", $rand, $rand); } catch (Exception $e) { // pass return; @@ -35,7 +35,7 @@ class Movie_Helper_Test extends Unit_Test_Case { $rand = rand(); $root = ORM::factory("item", 1); try { - $movie = movie::create($root, DOCROOT . "core/tests/test.jpg", "$rand.jpg.", $rand, $rand); + $movie = movie::create($root, MODPATH . "gallery/tests/test.jpg", "$rand.jpg.", $rand, $rand); } catch (Exception $e) { $this->assert_equal("@todo NAME_CANNOT_END_IN_PERIOD", $e->getMessage()); return; |