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