public function MigrateTaxonomyConfigsTest::testTaxonomySettings in Drupal 8
Same name and namespace in other branches
- 9 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 33
Class
- MigrateTaxonomyConfigsTest
- Upgrade variables to taxonomy.settings.yml.
Namespace
Drupal\Tests\taxonomy\Kernel\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());
}