public function EmailTestCase::setUp in Microdata 7
Implements DrupalWebTestCase::setUp().
Overrides MicrodataFieldTestCase::setUp
File
- modules/
email/ email.test, line 34 - Tests for Email module.
Class
- EmailTestCase
- Test Email module microdata placement.
Code
public function setUp() {
$this->fieldFormatterTypesMicrodata = array(
'email_default',
'email_plain',
);
$this->fieldFormatterTypesNoMicrodata = array(
'email_contact',
'email_spamspan',
);
$this->fieldFormatterTypes = array_merge($this->fieldFormatterTypesMicrodata, $this->fieldFormatterTypesNoMicrodata);
parent::setUp(array(
'email',
'spamspan',
));
}