public function MigrateTaxonomyTermStubTest::testStub in Drupal 9
Same name and namespace in other branches
- 8 core/modules/taxonomy/tests/src/Kernel/Migrate/MigrateTaxonomyTermStubTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\MigrateTaxonomyTermStubTest::testStub()
Tests creation of taxonomy term stubs.
File
- core/
modules/ taxonomy/ tests/ src/ Kernel/ Migrate/ MigrateTaxonomyTermStubTest.php, line 36
Class
- MigrateTaxonomyTermStubTest
- Test stub creation for taxonomy terms.
Namespace
Drupal\Tests\taxonomy\Kernel\MigrateCode
public function testStub() {
Vocabulary::create([
'vid' => 'test_vocabulary',
'name' => 'Test vocabulary',
])
->save();
$this
->performStubTest('taxonomy_term');
}