You are here

public function VocabularySerializationTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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 34

Class

VocabularySerializationTest
Regression test for https://www.drupal.org/node/2807263.

Namespace

Drupal\Tests\taxonomy\Functional

Code

public function setUp() : void {
  parent::setUp();
  Vocabulary::create([
    'vid' => 'test',
  ])
    ->save();
}