summaryrefslogtreecommitdiff
path: root/modules/field
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-25 15:51:21 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-25 15:51:21 +0000
commit2f76c696c013f5cbaec91ac724c39297611539b3 (patch)
treead61188e6599f6e353052c46e8e77916446736b4 /modules/field
parente027699979be3dd671390a259ef60d6c7410890e (diff)
downloadbrdo-2f76c696c013f5cbaec91ac724c39297611539b3.tar.gz
brdo-2f76c696c013f5cbaec91ac724c39297611539b3.tar.bz2
#445736 by sun: Fixed Poll does not respect weight in Preview or More button.
Diffstat (limited to 'modules/field')
-rw-r--r--modules/field/modules/text/text.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/field/modules/text/text.test b/modules/field/modules/text/text.test
index 903cc8ea5..ee71414cf 100644
--- a/modules/field/modules/text/text.test
+++ b/modules/field/modules/text/text.test
@@ -215,8 +215,8 @@ class TextFieldTestCase extends DrupalWebTestCase {
// Display edition form.
// We should now have a 'text format' selector.
$this->drupalGet('test-entity/manage/' . $id . '/edit');
- $this->assertFieldByName("{$this->field_name}[$langcode][0][value]", '', t('Widget is displayed'));
- $this->assertFieldByName("{$this->field_name}[$langcode][0][format]", '', t('Format selector is displayed'));
+ $this->assertFieldByName("{$this->field_name}[$langcode][0][value]", NULL, t('Widget is displayed'));
+ $this->assertFieldByName("{$this->field_name}[$langcode][0][format]", NULL, t('Format selector is displayed'));
// Edit and change the text format to the new one that was created.
$edit = array(