You are here

public function DbLogResourceTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/dblog/tests/src/Functional/DbLogResourceTest.php \Drupal\Tests\dblog\Functional\DbLogResourceTest::setUp()

Overrides ResourceTestBase::setUp

File

core/modules/dblog/tests/src/Functional/DbLogResourceTest.php, line 53

Class

DbLogResourceTest
Tests the watchdog database log resource.

Namespace

Drupal\Tests\dblog\Functional

Code

public function setUp() {
  parent::setUp();
  $auth = isset(static::$auth) ? [
    static::$auth,
  ] : [];
  $this
    ->provisionResource([
    static::$format,
  ], $auth);
}