diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-11-26 12:09:04 -0800 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-11-26 12:09:04 -0800 |
| commit | 1fd0e14359a7c7164573e4aa897c07680339e713 (patch) | |
| tree | 62b01b88571e53810aa7f3efc2f0f01e727904e2 /modules/gallery/tests/I18n_Test.php | |
| parent | 22823df22098ed1a69d88c2e5fdc30cd90f72c30 (diff) | |
Convert all DB where() calls to take 3 arguments.
Convert all open_paren() calls to and_open() or or_open() as appropriate.
Diffstat (limited to 'modules/gallery/tests/I18n_Test.php')
| -rw-r--r-- | modules/gallery/tests/I18n_Test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/tests/I18n_Test.php b/modules/gallery/tests/I18n_Test.php index d0555cbf..895e3051 100644 --- a/modules/gallery/tests/I18n_Test.php +++ b/modules/gallery/tests/I18n_Test.php @@ -29,7 +29,7 @@ class Gallery_I18n_Test extends Unit_Test_Case { $this->i18n = Gallery_I18n::instance($config); ORM::factory("incoming_translation") - ->where("locale", "te_ST") + ->where("locale", "=", "te_ST") ->delete_all(); $messages_te_ST = array( @@ -62,7 +62,7 @@ class Gallery_I18n_Test extends Unit_Test_Case { $locale = $this->i18n->locale(); $this->assert_equal("de_DE", $locale); } - + public function translate_simple_test() { $result = $this->i18n->translate('Hello world'); $this->assert_equal('Hallo Welt', $result); |
