You are here

function DateValidationTestCase::deleteDateField in Date 7

1 call to DateValidationTestCase::deleteDateField()
DateValidationTestCase::testValidation in tests/date_validation.test

File

tests/date_validation.test, line 115

Class

DateValidationTestCase

Code

function deleteDateField() {
  $this
    ->drupalGet('admin/structure/types/manage/story/fields');
  $this
    ->clickLink('delete');
  $this
    ->drupalPost(NULL, NULL, t('Delete'));
  $this
    ->assertText('The field Test has been deleted from the Story content type.', 'Removed date field.');
}