You are here

protected function NodeTest::setUp in Audit Log 8

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/NodeTest.php \Drupal\Tests\audit_log\Functional\NodeTest::setUp()

Overrides NodeTestBase::setUp

File

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

Class

NodeTest
Tests audit log functionality on node crud operations.

Namespace

Drupal\Tests\audit_log\Functional

Code

protected function setUp() {
  parent::setUp();
  $web_user = $this
    ->drupalCreateUser([
    'create article content',
  ]);
  $this
    ->drupalLogin($web_user);
  $this->webUser = $web_user;
}