summaryrefslogtreecommitdiff
path: root/modules/dblog/dblog.test
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-22 00:58:55 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-22 00:58:55 +0000
commit34a8a369aa0afb353d95578768903c6a1d5cd06b (patch)
treecd695ff9c71a5c221f9a5ea4603b04fbc5c2b3bd /modules/dblog/dblog.test
parentbc23bfaa11d6a8d40bb12812cfa081b9c5d9b672 (diff)
downloadbrdo-34a8a369aa0afb353d95578768903c6a1d5cd06b.tar.gz
brdo-34a8a369aa0afb353d95578768903c6a1d5cd06b.tar.bz2
#367595 by plach, catch, sun, yched, et al: Added support for translatable fields to Field API.
Diffstat (limited to 'modules/dblog/dblog.test')
-rw-r--r--modules/dblog/dblog.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/dblog/dblog.test b/modules/dblog/dblog.test
index 342bba0e9..8e8caa4a3 100644
--- a/modules/dblog/dblog.test
+++ b/modules/dblog/dblog.test
@@ -330,9 +330,10 @@ class DBLogTestCase extends DrupalWebTestCase {
break;
default:
+ $langcode = FIELD_LANGUAGE_NONE;
$content = array(
'title' => $this->randomName(8),
- 'body[0][value]' => $this->randomName(32),
+ "body[$langcode][0][value]" => $this->randomName(32),
);
break;
}
@@ -355,8 +356,9 @@ class DBLogTestCase extends DrupalWebTestCase {
break;
default:
+ $langcode = FIELD_LANGUAGE_NONE;
$content = array(
- 'body[0][value]' => $this->randomName(32),
+ "body[$langcode][0][value]" => $this->randomName(32),
);
break;
}