You are here

function DateToolsTestCase::deleteDateField in Date 7

Same name and namespace in other branches
  1. 7.3 date_tools/tests/DateToolsTestCase.test \DateToolsTestCase::deleteDateField()
  2. 7.2 date_tools/tests/DateToolsTestCase.test \DateToolsTestCase::deleteDateField()
1 call to DateToolsTestCase::deleteDateField()
DateToolsTestCase::testTools in date_tools/tests/date_tools.test

File

date_tools/tests/date_tools.test, line 59

Class

DateToolsTestCase

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