diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-02-24 06:10:40 +0000 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-02-24 06:10:40 +0000 |
commit | c5964c74cdea739b4a4abcff46b0308f3fd13a48 (patch) | |
tree | a56070b59087b8c513fe24de71fada92171e6891 /core/tests/I18n_Test.php | |
parent | e0319573542293c661c263de30547eeb9c2b7ede (diff) |
Fix i18n create table sql (forgot to change core_install.php)
Diffstat (limited to 'core/tests/I18n_Test.php')
-rw-r--r-- | core/tests/I18n_Test.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/tests/I18n_Test.php b/core/tests/I18n_Test.php index 75170a1d..f0ed827d 100644 --- a/core/tests/I18n_Test.php +++ b/core/tests/I18n_Test.php @@ -52,6 +52,17 @@ class I18n_Test extends Unit_Test_Case { } } + public function get_locale_test() { + $locale = $this->i18n->locale(); + $this->assert_equal("te_ST", $locale); + } + + public function set_locale_test() { + $this->i18n->locale("de_DE"); + $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); |