function VocabularySerializationTest::setUp
Same name in other branches
- 9 core/modules/taxonomy/tests/src/Functional/VocabularySerializationTest.php \Drupal\Tests\taxonomy\Functional\VocabularySerializationTest::setUp()
- 8.9.x core/modules/taxonomy/tests/src/Functional/VocabularySerializationTest.php \Drupal\Tests\taxonomy\Functional\VocabularySerializationTest::setUp()
- 11.x core/modules/taxonomy/tests/src/Functional/VocabularySerializationTest.php \Drupal\Tests\taxonomy\Functional\VocabularySerializationTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ taxonomy/ tests/ src/ Functional/ VocabularySerializationTest.php, line 36
Class
- VocabularySerializationTest
- Regression test for https://www.drupal.org/node/2807263.
Namespace
Drupal\Tests\taxonomy\FunctionalCode
protected function setUp() : void {
parent::setUp();
Vocabulary::create([
'vid' => 'test',
'name' => 'Test',
])->save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.