summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Gallery_I18n_Test.php
diff options
context:
space:
mode:
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'),