summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Core_Installer_Test.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-27 16:15:00 -0700
committerBharat Mediratta <bharat@menalto.com>2009-05-27 16:17:29 -0700
commit88a3d43ba9b9377ba6bbe21a4547220ae3a37276 (patch)
treebcdfaa4188a7e9a8e698c895f84f0ca899005391 /modules/gallery/tests/Core_Installer_Test.php
parent12fe58d997d2066dc362fd393a18b4e5da190513 (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/Core_Installer_Test.php')
-rw-r--r--modules/gallery/tests/Core_Installer_Test.php12
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() {