You are here

protected function ResponseHeadersTest::setUp in JSON-RPC 2.x

Overrides BrowserTestBase::setUp

File

tests/src/Functional/ResponseHeadersTest.php, line 25

Class

ResponseHeadersTest
Test turning the maintenance mode on or off using JSON RPC.

Namespace

Drupal\Tests\jsonrpc\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->grantPermissions(Role::load(RoleInterface::ANONYMOUS_ID), [
    'use jsonrpc services',
    'access content',
  ]);
}