You are here

public function DbLogResourceTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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() : void {
  parent::setUp();
  $auth = isset(static::$auth) ? [
    static::$auth,
  ] : [];
  $this
    ->provisionResource([
    static::$format,
  ], $auth);
}