You are here

protected function PluginSelectTest::setUp in Commerce Core 8.2

Overrides CommerceWebDriverTestBase::setUp

File

tests/src/FunctionalJavascript/PluginSelectTest.php, line 50

Class

PluginSelectTest
Tests the plugin select widgets.

Namespace

Drupal\Tests\commerce\FunctionalJavascript

Code

protected function setUp() : void {
  parent::setUp();
  Role::create([
    'id' => 'test_role',
    'label' => $this
      ->randomString(),
  ])
    ->save();
  $this->entityTestStorage = $this->container
    ->get('entity_type.manager')
    ->getStorage('entity_test');
}