abstract protected function ResourceTestBase::assertNormalizationEdgeCases in Drupal 10
Same name and namespace in other branches
- 8 core/modules/rest/tests/src/Functional/ResourceTestBase.php \Drupal\Tests\rest\Functional\ResourceTestBase::assertNormalizationEdgeCases()
- 9 core/modules/rest/tests/src/Functional/ResourceTestBase.php \Drupal\Tests\rest\Functional\ResourceTestBase::assertNormalizationEdgeCases()
Asserts normalization-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()
2 methods override ResourceTestBase::assertNormalizationEdgeCases()
- EntityResourceTestBase::assertNormalizationEdgeCases in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Asserts normalization-specific edge cases.
- LayoutRestTestBase::assertNormalizationEdgeCases in core/
modules/ layout_builder/ tests/ src/ Functional/ Rest/ LayoutRestTestBase.php - Asserts normalization-specific edge cases.
File
- core/
modules/ rest/ tests/ src/ Functional/ ResourceTestBase.php, line 240
Class
- ResourceTestBase
- Subclass this for every REST resource, every format and every auth provider.
Namespace
Drupal\Tests\rest\FunctionalCode
protected abstract function assertNormalizationEdgeCases($method, Url $url, array $request_options);