function ResourceTestBase::assertAuthenticationEdgeCases
Same name and namespace in other branches
- 11.x core/modules/rest/tests/src/Functional/ResourceTestBase.php \Drupal\Tests\rest\Functional\ResourceTestBase::assertAuthenticationEdgeCases()
- 10 core/modules/rest/tests/src/Functional/ResourceTestBase.php \Drupal\Tests\rest\Functional\ResourceTestBase::assertAuthenticationEdgeCases()
- 8.9.x core/modules/rest/tests/src/Functional/ResourceTestBase.php \Drupal\Tests\rest\Functional\ResourceTestBase::assertAuthenticationEdgeCases()
Asserts authentication provider-specific edge cases.
(Should be called before sending a well-formed request.)
Parameters
string $method: HTTP method.
\Drupal\Core\Url $url: URL to request.
array $request_options: Request options to apply.
See also
\GuzzleHttp\ClientInterface::request()
File
-
core/
modules/ rest/ tests/ src/ Functional/ ResourceTestBase.php, line 256
Class
- ResourceTestBase
- Subclass this for every REST resource, every format and every auth provider.
Namespace
Drupal\Tests\rest\FunctionalCode
abstract protected function assertAuthenticationEdgeCases($method, Url $url, array $request_options);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.