You are here

function DateUITestCase::deleteDateField in Date 7

1 call to DateUITestCase::deleteDateField()
DateUITestCase::testFieldUI in tests/date.test

File

tests/date.test, line 131

Class

DateUITestCase

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.');
}