You are here

protected function ProviderBucketTest::setUp in oEmbed Providers 2.x

Overrides BrowserTestBase::setUp

File

tests/src/Functional/ProviderBucketTest.php, line 50

Class

ProviderBucketTest
Tests the provider bucket config entity type.

Namespace

Drupal\Tests\oembed_providers\Functional

Code

protected function setUp() : void {
  parent::setUp();

  // Create an admin user.
  $this->adminUser = $this
    ->drupalCreateUser([
    'access administration pages',
    'administer oembed providers',
  ]);

  // Create a non-admin user.
  $this->nonAdminUser = $this
    ->drupalCreateUser([
    'access administration pages',
  ]);
}