function TourTest::getExpectedUnauthorizedAccessMessage
Same name in other branches
- 9 core/modules/jsonapi/tests/src/Functional/TourTest.php \Drupal\Tests\jsonapi\Functional\TourTest::getExpectedUnauthorizedAccessMessage()
- 8.9.x core/modules/jsonapi/tests/src/Functional/TourTest.php \Drupal\Tests\jsonapi\Functional\TourTest::getExpectedUnauthorizedAccessMessage()
- 11.x core/modules/tour/tests/src/Functional/Jsonapi/TourTest.php \Drupal\Tests\tour\Functional\Jsonapi\TourTest::getExpectedUnauthorizedAccessMessage()
Overrides ResourceTestBase::getExpectedUnauthorizedAccessMessage
File
-
core/
modules/ tour/ tests/ src/ Functional/ Jsonapi/ TourTest.php, line 144
Class
- TourTest
- JSON:API integration test for the "Tour" config entity type.
Namespace
Drupal\Tests\tour\Functional\JsonapiCode
protected function getExpectedUnauthorizedAccessMessage($method) {
return "The following permissions are required: 'access tour' OR 'administer site configuration'.";
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.