You are here

protected function CartResourceTestBase::getExpectedUnauthorizedAccessMessage in Commerce Cart API 8

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/CartResourceTestBase.php, line 128

Class

CartResourceTestBase
Defines base class for commerce_cart_api test cases.

Namespace

Drupal\Tests\commerce_cart_api\Functional

Code

protected function getExpectedUnauthorizedAccessMessage($method) {
}