Commit f75d1a9e authored by webchick's avatar webchick
Browse files

#567192 follow-up by Berdir: Remove tests for functionality that has not yet...

#567192 follow-up by Berdir: Remove tests for functionality that has not yet been committed. Oopsie.
parent 9031e412
...@@ -305,9 +305,6 @@ class FormsElementsLabelsTestCase extends DrupalWebTestCase { ...@@ -305,9 +305,6 @@ class FormsElementsLabelsTestCase extends DrupalWebTestCase {
$elements = $this->xpath('//input[@id="edit-form-textfield-test-title-after"]/following-sibling::label[@for="edit-form-textfield-test-title-after" and @class="option"]'); $elements = $this->xpath('//input[@id="edit-form-textfield-test-title-after"]/following-sibling::label[@for="edit-form-textfield-test-title-after" and @class="option"]');
$this->assertTrue(isset($elements[0]), t("Label after field and label option class correct for text field.")); $this->assertTrue(isset($elements[0]), t("Label after field and label option class correct for text field."));
$elements = $this->xpath('//input[@id="edit-form-textfield-test-title-invisible"]/following-sibling::label[@for="edit-form-textfield-test-title-invisible" and @class="element-invisible"]');
$this->assertTrue(isset($elements[0]), t("Label after field and label class is element-invisible."));
$elements = $this->xpath('//label[@for="edit-form-textfield-test-title-no-show"]'); $elements = $this->xpath('//label[@for="edit-form-textfield-test-title-no-show"]');
$this->assertFalse(isset($elements[0]), t("No label tag when title set not to display.")); $this->assertFalse(isset($elements[0]), t("No label tag when title set not to display."));
} }
......
...@@ -537,11 +537,6 @@ function form_label_test_form(&$form_state) { ...@@ -537,11 +537,6 @@ function form_label_test_form(&$form_state) {
'#title' => t('Textfield test for title after element'), '#title' => t('Textfield test for title after element'),
'#title_display' => 'after', '#title_display' => 'after',
); );
$form['form_textfield_test_title_invisible'] = array(
'#type' => 'textfield',
'#title' => t('Textfield test for invisible title'),
'#title_display' => 'invisible',
);
// Textfield test for title set not to display // Textfield test for title set not to display
$form['form_textfield_test_title_no_show'] = array( $form['form_textfield_test_title_no_show'] = array(
'#type' => 'textfield', '#type' => 'textfield',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment