You are here

protected function NodeAccessTest::setUp in Diff 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/NodeAccessTest.php, line 27

Class

NodeAccessTest
Tests the diff overview form with modules implementing node access.

Namespace

Drupal\Tests\diff\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->createContentType([
    'type' => 'article',
  ]);

  // Dummy user 1.
  $this
    ->createUser();

  // Rebuild access.
  node_access_rebuild();
}