You are here

protected function UninstallTest::setUp in Multiversion 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/UninstallTest.php, line 69

Class

UninstallTest
Test the UninstallTest class.

Namespace

Drupal\Tests\multiversion\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->container
    ->get('multiversion.manager')
    ->enableEntityTypes();
  $this
    ->drupalCreateContentType([
    'type' => 'article',
    'name' => 'Article',
  ]);
  $this
    ->drupalLogin($this->rootUser);
}