public function MigrateTaxonomyConfigsTest::testTaxonomySettings in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/taxonomy/src/Tests/Migrate/MigrateTaxonomyConfigsTest.php \Drupal\taxonomy\Tests\Migrate\MigrateTaxonomyConfigsTest::testTaxonomySettings()
Tests migration of taxonomy variables to taxonomy.settings.yml.
File
- core/
modules/ taxonomy/ src/ Tests/ Migrate/ MigrateTaxonomyConfigsTest.php, line 38 - Contains \Drupal\taxonomy\Tests\Migrate\MigrateTaxonomyConfigsTest.
Class
- MigrateTaxonomyConfigsTest
- Upgrade variables to taxonomy.settings.yml.
Namespace
Drupal\taxonomy\Tests\MigrateCode
public function testTaxonomySettings() {
$config = $this
->config('taxonomy.settings');
$this
->assertIdentical(100, $config
->get('terms_per_page_admin'));
$this
->assertIdentical(FALSE, $config
->get('override_selector'));
$this
->assertConfigSchema(\Drupal::service('config.typed'), 'taxonomy.settings', $config
->get());
}