You are here

protected function LayoutRestTestBase::assertResponseWhenMissingAuthentication in Layout Builder Symmetric Translations 8

Verifies the error response in case of missing authentication.

Parameters

string $method: HTTP method.

\Psr\Http\Message\ResponseInterface $response: The response to assert.

Overrides BasicAuthResourceTestTrait::assertResponseWhenMissingAuthentication

File

tests/src/Functional/Rest/LayoutRestTestBase.php, line 124

Class

LayoutRestTestBase
Base class for Layout Builder REST tests.

Namespace

Drupal\Tests\layout_builder_st\Functional\Rest

Code

protected function assertResponseWhenMissingAuthentication($method, ResponseInterface $response) {
}