function MigrateTaxonomyTermTest::testTaxonomyTerms
Same name in this branch
- 10 core/modules/forum/tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTest.php \Drupal\Tests\forum\Kernel\Migrate\d7\MigrateTaxonomyTermTest::testTaxonomyTerms()
- 10 core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyTermTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d6\MigrateTaxonomyTermTest::testTaxonomyTerms()
- 10 core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d7\MigrateTaxonomyTermTest::testTaxonomyTerms()
Same name in other branches
- 9 core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyTermTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d6\MigrateTaxonomyTermTest::testTaxonomyTerms()
- 9 core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d7\MigrateTaxonomyTermTest::testTaxonomyTerms()
- 8.9.x core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyTermTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d6\MigrateTaxonomyTermTest::testTaxonomyTerms()
- 8.9.x core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d7\MigrateTaxonomyTermTest::testTaxonomyTerms()
- 11.x core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateTaxonomyTermTest.php \Drupal\Tests\forum\Kernel\Migrate\d6\MigrateTaxonomyTermTest::testTaxonomyTerms()
- 11.x core/modules/forum/tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTest.php \Drupal\Tests\forum\Kernel\Migrate\d7\MigrateTaxonomyTermTest::testTaxonomyTerms()
- 11.x core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyTermTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d6\MigrateTaxonomyTermTest::testTaxonomyTerms()
- 11.x core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d7\MigrateTaxonomyTermTest::testTaxonomyTerms()
Assert the forum taxonomy terms.
File
-
core/
modules/ forum/ tests/ src/ Kernel/ Migrate/ d6/ MigrateTaxonomyTermTest.php, line 44
Class
- MigrateTaxonomyTermTest
- Test migration of forum taxonomy terms.
Namespace
Drupal\Tests\forum\Kernel\Migrate\d6Code
public function testTaxonomyTerms() : void {
$this->assertEntity(8, 'en', 'General discussion', 'forums', '', NULL, 2, [
'0',
], 0);
$this->assertEntity(9, 'en', 'Earth', 'forums', '', NULL, 0, [
'0',
], 1);
$this->assertEntity(10, 'en', 'Birds', 'forums', '', NULL, 0, [
'9',
], 0);
$this->assertEntity(11, 'en', 'Oak', 'trees', '', NULL, 0, [
'0',
], NULL);
$this->assertEntity(12, 'en', 'Ash', 'trees', '', NULL, 0, [
'0',
], NULL);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.