MigrateLanguageContentTaxonomyVocabularySettingsTest.php

Same filename in this branch
  1. 10 core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentTaxonomyVocabularySettingsTest.php
  2. 10 core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageContentTaxonomyVocabularySettingsTest.php
Same filename in other branches
  1. 9 core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentTaxonomyVocabularySettingsTest.php
  2. 9 core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageContentTaxonomyVocabularySettingsTest.php
  3. 8.9.x core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentTaxonomyVocabularySettingsTest.php
  4. 8.9.x core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageContentTaxonomyVocabularySettingsTest.php
  5. 11.x core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentTaxonomyVocabularySettingsTest.php
  6. 11.x core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageContentTaxonomyVocabularySettingsTest.php
  7. 11.x core/modules/forum/tests/src/Kernel/Migrate/d7/MigrateLanguageContentTaxonomyVocabularySettingsTest.php

Namespace

Drupal\Tests\forum\Kernel\Migrate\d7

File

core/modules/forum/tests/src/Kernel/Migrate/d7/MigrateLanguageContentTaxonomyVocabularySettingsTest.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\forum\Kernel\Migrate\d7;

use Drupal\Core\Language\LanguageInterface;
use Drupal\Tests\language\Kernel\Migrate\d7\MigrateLanguageContentTaxonomyVocabularySettingsTest as CoreTest;

/**
 * Tests migration of i18ntaxonomy vocabulary settings.
 *
 * @group forum
 */
class MigrateLanguageContentTaxonomyVocabularySettingsTest extends CoreTest {
    
    /**
     * {@inheritdoc}
     */
    protected static $modules = [
        'comment',
        'forum',
    ];
    
    /**
     * Tests migration of 18ntaxonomy vocabulary settings.
     */
    public function testLanguageContentTaxonomy() : void {
        $this->assertLanguageContentSettings('taxonomy_term', 'forums', LanguageInterface::LANGCODE_NOT_SPECIFIED, FALSE, [
            'enabled' => FALSE,
        ]);
    }

}

Classes

Title Deprecated Summary
MigrateLanguageContentTaxonomyVocabularySettingsTest Tests migration of i18ntaxonomy vocabulary settings.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.