diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2010-01-10 10:19:46 -0800 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-10 10:19:46 -0800 |
| commit | 8fa9ba636b2e5d8a68c24359e9f6147e86798248 (patch) | |
| tree | 91029c688790a7507b0842bfb483e3698e6cd25d /modules/gallery/tests | |
| parent | 5a8d48a86953781c682be7c8052ae804c65f7e3b (diff) | |
| parent | a11bf295078656612603c1c561e9261555d0c40c (diff) | |
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
Diffstat (limited to 'modules/gallery/tests')
| -rw-r--r-- | modules/gallery/tests/Gallery_I18n_Test.php | 5 |
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'), |
