function UserRegistrationRestTest::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
-
core/
modules/ user/ tests/ src/ Functional/ UserRegistrationRestTest.php, line 259
Class
- UserRegistrationRestTest
- Tests registration of user using REST.
Namespace
Drupal\Tests\user\FunctionalCode
protected function getExpectedUnauthorizedAccessMessage($method) {
return '';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.