public function MigrateContactSettingsTest::testContactSettings in Zircon Profile 8
Same name in this branch
- 8 core/modules/contact/src/Tests/Migrate/d6/MigrateContactSettingsTest.php \Drupal\contact\Tests\Migrate\d6\MigrateContactSettingsTest::testContactSettings()
- 8 core/modules/contact/src/Tests/Migrate/d7/MigrateContactSettingsTest.php \Drupal\contact\Tests\Migrate\d7\MigrateContactSettingsTest::testContactSettings()
Same name and namespace in other branches
- 8.0 core/modules/contact/src/Tests/Migrate/d7/MigrateContactSettingsTest.php \Drupal\contact\Tests\Migrate\d7\MigrateContactSettingsTest::testContactSettings()
Tests migration of Contact's variables to configuration.
File
- core/
modules/ contact/ src/ Tests/ Migrate/ d7/ MigrateContactSettingsTest.php, line 36 - Contains \Drupal\contact\Tests\Migrate\d7\MigrateContactSettingsTest.
Class
- MigrateContactSettingsTest
- Tests migration of Contact settings to configuration.
Namespace
Drupal\contact\Tests\Migrate\d7Code
public function testContactSettings() {
$config = $this
->config('contact.settings');
$this
->assertTrue($config
->get('user_default_enabled'));
$this
->assertIdentical(33, $config
->get('flood.limit'));
$this
->assertEqual('website_testing', $config
->get('default_form'));
}