function ResourceTestBase::assertNormalizationEdgeCases

Same name in other branches
  1. 9 core/modules/rest/tests/src/Functional/ResourceTestBase.php \Drupal\Tests\rest\Functional\ResourceTestBase::assertNormalizationEdgeCases()
  2. 8.9.x core/modules/rest/tests/src/Functional/ResourceTestBase.php \Drupal\Tests\rest\Functional\ResourceTestBase::assertNormalizationEdgeCases()
  3. 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.

... See full list

File

core/modules/rest/tests/src/Functional/ResourceTestBase.php, line 243

Class

ResourceTestBase
Subclass this for every REST resource, every format and every auth provider.

Namespace

Drupal\Tests\rest\Functional

Code

protected abstract function assertNormalizationEdgeCases($method, Url $url, array $request_options);

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