function UserRegistrationRestTest::getExpectedUnauthorizedAccessMessage

Same name in other branches
  1. 10 core/modules/user/tests/src/Functional/UserRegistrationRestTest.php \Drupal\Tests\user\Functional\UserRegistrationRestTest::getExpectedUnauthorizedAccessMessage()
  2. 11.x core/modules/user/tests/src/Functional/UserRegistrationRestTest.php \Drupal\Tests\user\Functional\UserRegistrationRestTest::getExpectedUnauthorizedAccessMessage()

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\Functional

Code

protected function getExpectedUnauthorizedAccessMessage($method) {
    return '';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.