You are here

protected function BundleFormAlterTest::setUp in Organic groups 8

Overrides BrowserTestBase::setUp

File

og_ui/tests/src/Functional/BundleFormAlterTest.php, line 48

Class

BundleFormAlterTest
Test making a bundle a group and a group content.

Namespace

Drupal\Tests\og_ui\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this->entityTypeManager = \Drupal::entityTypeManager();

  // Log in as an administrator that can manage blocks and content types.
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer blocks',
    'administer content types',
    'bypass node access',
  ]);
  $this
    ->drupalLogin($this->adminUser);
}