summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Gallery_I18n_Test.php
diff options
context:
space:
mode:
authorNathan Kinkade <nkinkade@nkinka.de>2010-01-19 16:34:34 +0000
committerNathan Kinkade <nkinkade@nkinka.de>2010-01-19 16:34:34 +0000
commite47505081f2c1017a68f763e1170b44fddd1e722 (patch)
treeeb511a8d9bae266ed6cf86f789f270642af93e90 /modules/gallery/tests/Gallery_I18n_Test.php
parent0a67b836a9b5021c91b9c327d3693991c3248dfc (diff)
parent9384f987bb96d0d39787ff9d3d16a70c01cd76e0 (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/tests/Gallery_I18n_Test.php')
-rw-r--r--modules/gallery/tests/Gallery_I18n_Test.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/gallery/tests/Gallery_I18n_Test.php b/modules/gallery/tests/Gallery_I18n_Test.php
index 895e3051..5d2fd994 100644
--- a/modules/gallery/tests/Gallery_I18n_Test.php
+++ b/modules/gallery/tests/Gallery_I18n_Test.php
@@ -28,9 +28,10 @@ class Gallery_I18n_Test extends Unit_Test_Case {
'locale_dir' => VARPATH . 'locale/');
$this->i18n = Gallery_I18n::instance($config);
- ORM::factory("incoming_translation")
+ db::build()
+ ->delete("incoming_translations")
->where("locale", "=", "te_ST")
- ->delete_all();
+ ->execute();
$messages_te_ST = array(
array('Hello world', 'Hallo Welt'),