diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-20 01:20:33 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-20 01:20:33 -0700 |
commit | be1bb23a1e16af14ca9ee7401e9be528c43796ed (patch) | |
tree | e754a1815dc836b9813e46b710facebd0a303d9c /modules/path | |
parent | ee8670c29533a96fe1aa0b08e95d7327b983066b (diff) | |
download | brdo-be1bb23a1e16af14ca9ee7401e9be528c43796ed.tar.gz brdo-be1bb23a1e16af14ca9ee7401e9be528c43796ed.tar.bz2 |
Issue #1164852 by plach: Default the 'translatable' bit on fields to FALSE for fields created in the UI, to match those created by the API.
Diffstat (limited to 'modules/path')
-rw-r--r-- | modules/path/path.test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/path/path.test b/modules/path/path.test index 4112e5f6b..f42ec81be 100644 --- a/modules/path/path.test +++ b/modules/path/path.test @@ -279,8 +279,9 @@ class PathLanguageTestCase extends DrupalWebTestCase { $this->drupalGet('node/' . $english_node->nid . '/translate'); $this->clickLink(t('add translation')); $edit = array(); + $langcode = LANGUAGE_NONE; $edit["title"] = $this->randomName(); - $edit["body[fr][0][value]"] = $this->randomName(); + $edit["body[$langcode][0][value]"] = $this->randomName(); $french_alias = $this->randomName(); $edit['path[alias]'] = $french_alias; $this->drupalPost(NULL, $edit, t('Save')); |