protected function TamperConfigSchemaTest::setUp in Tamper 8
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ TamperConfigSchemaTest.php, line 35
Class
- TamperConfigSchemaTest
- Tests config schema of each tamper plugin.
Namespace
Drupal\Tests\tamper\KernelCode
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('entity_test_bundle');
$this->entity = EntityTestBundle::create([
'id' => 'test',
'label' => 'Test label',
'description' => 'My test description',
]);
$this->entity
->save();
}