function DateToolsTest::deleteDateField in Date 8
@todo.
1 call to DateToolsTest::deleteDateField()
- DateToolsTest::testTools in date_tools/
lib/ Drupal/ date_tools/ Tests/ DateToolsTest.php - Creates a date field using the Date Wizard.
File
- date_tools/
lib/ Drupal/ date_tools/ Tests/ DateToolsTest.php, line 84 - Tests for Date Tools.
Class
Namespace
Drupal\date_tools\TestsCode
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.');
}