You are here

protected function FieldStorageConfigTest::getExpectedUnauthorizedAccessMessage in JSON:API 8.2

Same name and namespace in other branches
  1. 8 tests/src/Functional/FieldStorageConfigTest.php \Drupal\Tests\jsonapi\Functional\FieldStorageConfigTest::getExpectedUnauthorizedAccessMessage()

Return the expected error message.

Parameters

string $method: The HTTP method (GET, POST, PATCH, DELETE).

Return value

string The error string.

Overrides ResourceTestBase::getExpectedUnauthorizedAccessMessage

File

tests/src/Functional/FieldStorageConfigTest.php, line 115

Class

FieldStorageConfigTest
JSON:API integration test for the "FieldStorageConfig" config entity type.

Namespace

Drupal\Tests\jsonapi\Functional

Code

protected function getExpectedUnauthorizedAccessMessage($method) {
  return "The 'administer node fields' permission is required.";
}