function MigrateTaxonomyConfigsTest::testTaxonomySettings
Same name in other branches
- 9 core/modules/taxonomy/tests/src/Kernel/Migrate/MigrateTaxonomyConfigsTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\MigrateTaxonomyConfigsTest::testTaxonomySettings()
- 8.9.x core/modules/taxonomy/tests/src/Kernel/Migrate/MigrateTaxonomyConfigsTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\MigrateTaxonomyConfigsTest::testTaxonomySettings()
- 10 core/modules/taxonomy/tests/src/Kernel/Migrate/MigrateTaxonomyConfigsTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\MigrateTaxonomyConfigsTest::testTaxonomySettings()
Tests migration of taxonomy variables to taxonomy.settings.yml.
File
-
core/
modules/ taxonomy/ tests/ src/ Kernel/ Migrate/ MigrateTaxonomyConfigsTest.php, line 35
Class
- MigrateTaxonomyConfigsTest
- Upgrade variables to taxonomy.settings.yml.
Namespace
Drupal\Tests\taxonomy\Kernel\MigrateCode
public function testTaxonomySettings() : void {
$config = $this->config('taxonomy.settings');
$this->assertSame(100, $config->get('terms_per_page_admin'));
$this->assertFalse($config->get('override_selector'));
$this->assertTrue($config->get('maintain_index_table'));
$this->assertConfigSchema(\Drupal::service('config.typed'), 'taxonomy.settings', $config->get());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.