diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-28 07:15:00 +0800 |
---|---|---|
committer | Gallery Role Account <gallery@menalto.com> | 2009-05-28 11:07:09 +0800 |
commit | 4eedf804e1f26d95de6803e48c608d893c53b7d0 (patch) | |
tree | 6bd8b55bca9568d2abc65a63bd17bcfe928e7285 /modules/gallery/tests/Core_Installer_Test.php | |
parent | 3413fe6bfd423d45d083ff4ed62c0f72c2cc272f (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.
Signed-off-by: Gallery Role Account <gallery@menalto.com>
Diffstat (limited to 'modules/gallery/tests/Core_Installer_Test.php')
-rw-r--r-- | modules/gallery/tests/Core_Installer_Test.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/gallery/tests/Core_Installer_Test.php b/modules/gallery/tests/Core_Installer_Test.php index f7036286..24d24b38 100644 --- a/modules/gallery/tests/Core_Installer_Test.php +++ b/modules/gallery/tests/Core_Installer_Test.php @@ -19,21 +19,21 @@ */ /** - * This test case operates under the assumption that core_installer::install() is called by the + * This test case operates under the assumption that gallery_installer::install() is called by the * test controller before it starts. */ -class Core_Installer_Test extends Unit_Test_Case { +class Gallery_Installer_Test extends Unit_Test_Case { public function install_creates_dirs_test() { $this->assert_true(file_exists(VARPATH . "albums")); $this->assert_true(file_exists(VARPATH . "resizes")); } - public function install_registers_core_module_test() { - $core = ORM::factory("module")->where("name", "core")->find(); - $this->assert_equal("core", $core->name); + public function install_registers_gallery_module_test() { + $gallery = ORM::factory("module")->where("name", "gallery")->find(); + $this->assert_equal("gallery", $gallery->name); // This is probably too volatile to keep for long - $this->assert_equal(1, $core->version); + $this->assert_equal(1, $gallery->version); } public function install_creates_root_item_test() { |