protected function EntityConverterTest::setUp in Drupal 10
Same name in this branch
- 10 core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php \Drupal\Tests\Core\ParamConverter\EntityConverterTest::setUp()
 - 10 core/tests/Drupal/KernelTests/Core/ParamConverter/EntityConverterTest.php \Drupal\KernelTests\Core\ParamConverter\EntityConverterTest::setUp()
 
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/ParamConverter/EntityConverterTest.php \Drupal\KernelTests\Core\ParamConverter\EntityConverterTest::setUp()
 
File
- core/
tests/ Drupal/ KernelTests/ Core/ ParamConverter/ EntityConverterTest.php, line 32  
Class
- EntityConverterTest
 - Tests the entity param converter.
 
Namespace
Drupal\KernelTests\Core\ParamConverterCode
protected function setUp() : void {
  parent::setUp();
  $this
    ->setUpCurrentUser();
  $this
    ->installEntitySchema('entity_test');
  // Create some testing bundles for 'entity_test' entity type.
  entity_test_create_bundle('foo', 'Foo');
  entity_test_create_bundle('bar', 'Bar');
  entity_test_create_bundle('baz', 'Baz');
}