abstract protected function ResourceTestBase::assertNormalizationEdgeCases in Drupal 9
Same name and namespace in other branches
- 8 core/modules/rest/tests/src/Functional/ResourceTestBase.php \Drupal\Tests\rest\Functional\ResourceTestBase::assertNormalizationEdgeCases()
- 10 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()
6 methods override ResourceTestBase::assertNormalizationEdgeCases()
- DbLogResourceTest::assertNormalizationEdgeCases in core/
modules/ dblog/ tests/ src/ Functional/ DbLogResourceTest.php - Asserts normalization-specific edge cases.
- EntityResourceTestBase::assertNormalizationEdgeCases in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Asserts normalization-specific edge cases.
- FileUploadResourceTestBase::assertNormalizationEdgeCases in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Asserts normalization-specific edge cases.
- LayoutRestTestBase::assertNormalizationEdgeCases in core/
modules/ layout_builder/ tests/ src/ Functional/ Rest/ LayoutRestTestBase.php - Asserts normalization-specific edge cases.
- RestJsonApiUnsupported::assertNormalizationEdgeCases in core/
modules/ jsonapi/ tests/ src/ Functional/ RestJsonApiUnsupported.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);