public function DateTestCase::setUp in Microdata 7
Implements DrupalWebTestCase::setUp().
Overrides MicrodataFieldTestCase::setUp
File
- modules/
date/ date.test, line 28 - Tests for Date module.
Class
- DateTestCase
- Test Date module microdata placement.
Code
public function setUp() {
$this->dateTypes = array(
'date',
'datetime',
'datestamp',
);
$this->fieldFormatterTypes = array(
'date_default',
);
parent::setUp('date');
variable_set('date_format_long', 'D, m/d/Y - H:i');
}