protected function ContactSettingsTest::setUp in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/contact/tests/src/Unit/Plugin/migrate/source/d6/ContactSettingsTest.php \Drupal\Tests\contact\Unit\Plugin\migrate\source\d6\ContactSettingsTest::setUp()
Overrides MigrateSqlSourceTestCase::setUp
File
- core/
modules/ contact/ tests/ src/ Unit/ Plugin/ migrate/ source/ d6/ ContactSettingsTest.php, line 40 - Contains \Drupal\Tests\contact\Unit\Plugin\migrate\source\d6\ContactSettingsTest.
Class
- ContactSettingsTest
- Tests D6 contact settings source plugin.
Namespace
Drupal\Tests\contact\Unit\Plugin\migrate\source\d6Code
protected function setUp() {
$this->databaseContents['variable'] = array(
array(
'name' => 'site_name',
'value' => serialize('Blorf!'),
),
);
$this->databaseContents['contact'] = array(
array(
'cid' => '1',
'category' => 'Website feedback',
'recipients' => 'admin@example.com',
'reply' => '',
'weight' => '0',
'selected' => '1',
),
);
parent::setUp();
}