protected function ContactCategoryTest::setUp in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/contact/tests/src/Unit/Plugin/migrate/source/ContactCategoryTest.php \Drupal\Tests\contact\Unit\Plugin\migrate\source\ContactCategoryTest::setUp()
Overrides MigrateSqlSourceTestCase::setUp
File
- core/
modules/ contact/ tests/ src/ Unit/ Plugin/ migrate/ source/ ContactCategoryTest.php, line 51 - Contains \Drupal\Tests\contact\Unit\Plugin\migrate\source\ContactCategoryTest.
Class
- ContactCategoryTest
- Tests contact_category source plugin.
Namespace
Drupal\Tests\contact\Unit\Plugin\migrate\sourceCode
protected function setUp() {
foreach ($this->expectedResults as $k => $row) {
$this->databaseContents['contact'][$k] = $row;
$this->databaseContents['contact'][$k]['recipients'] = implode(',', $row['recipients']);
}
parent::setUp();
}