function DbLogResourceTest::setUp

Same name in other branches
  1. 9 core/modules/hal/tests/src/Functional/dblog/DbLogResourceTest.php \Drupal\Tests\hal\Functional\dblog\DbLogResourceTest::setUp()
  2. 10 core/modules/dblog/tests/src/Functional/DbLogResourceTest.php \Drupal\Tests\dblog\Functional\DbLogResourceTest::setUp()
  3. 11.x 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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.