diff options
| author | Nathan Kinkade <nkinkade@nkinka.de> | 2010-01-03 15:51:24 +0000 | 
|---|---|---|
| committer | Nathan Kinkade <nkinkade@nkinka.de> | 2010-01-03 15:51:24 +0000 | 
| commit | 399abbc3a754cf5fdcfdff113446e1bc264091e2 (patch) | |
| tree | 592188568e15325d59e51bf19cfdf667fae8d86d /modules/gallery/tests/Gallery_Installer_Test.php | |
| parent | 925a6a2220760cb7daacee1ab80a07b61b3a30a1 (diff) | |
| parent | 64e5efd57ba1479179c202e1b76b6eeb42d2924c (diff) | |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/tests/Gallery_Installer_Test.php')
| -rw-r--r-- | modules/gallery/tests/Gallery_Installer_Test.php | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/modules/gallery/tests/Gallery_Installer_Test.php b/modules/gallery/tests/Gallery_Installer_Test.php index 36ced2bb..43399fb4 100644 --- a/modules/gallery/tests/Gallery_Installer_Test.php +++ b/modules/gallery/tests/Gallery_Installer_Test.php @@ -29,13 +29,13 @@ class Gallery_Installer_Test extends Unit_Test_Case {    }    public function install_registers_gallery_module_test() { -    $gallery = ORM::factory("module")->where("name", "gallery")->find(); +    $gallery = ORM::factory("module")->where("name", "=", "gallery")->find();      $this->assert_equal("gallery", $gallery->name);    }    public function install_creates_root_item_test() {      $max_right_ptr = ORM::factory("item") -      ->select("MAX(`right_ptr`) AS `right_ptr`") +      ->select(new Database_Expression("MAX(`right_ptr`) AS `right_ptr`"))        ->find()->right_ptr;      $root = ORM::factory('item')->find(1);      $this->assert_equal("Gallery", $root->title); | 
