diff options
Diffstat (limited to 'modules/poll/poll.test')
-rw-r--r-- | modules/poll/poll.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/poll/poll.test b/modules/poll/poll.test index 3aa108901..f96ff6595 100644 --- a/modules/poll/poll.test +++ b/modules/poll/poll.test @@ -57,7 +57,7 @@ class PollTestCase extends DrupalWebTestCase { $already_submitted_choices = array_slice($choices, 0, $index); $new_choices = array_values(array_slice($choices, $index, $max_new_choices)); - $langcode = FIELD_LANGUAGE_NONE; + $langcode = LANGUAGE_NONE; $edit = array( "title[$langcode][0][value]" => $title ); @@ -332,7 +332,7 @@ class PollJSAddChoice extends DrupalWebTestCase { $web_user = $this->drupalCreateUser(array('create poll content', 'access content')); $this->drupalLogin($web_user); $this->drupalGet('node/add/poll'); - $langcode = FIELD_LANGUAGE_NONE; + $langcode = LANGUAGE_NONE; $edit = array( "title[$langcode][0][value]" => $this->randomName(), 'choice[new:0][chtext]' => $this->randomName(), |