You are here

protected function FileUploadResourceTestBase::assertNormalizationEdgeCases in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php \Drupal\Tests\rest\Functional\FileUploadResourceTestBase::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.

Overrides ResourceTestBase::assertNormalizationEdgeCases

See also

\GuzzleHttp\ClientInterface::request()

File

core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php, line 644

Class

FileUploadResourceTestBase
Tests binary data file upload route.

Namespace

Drupal\Tests\rest\Functional

Code

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

  // The file upload resource only accepts binary data, so there are no
  // normalization edge cases to test, as there are no normalized entity
  // representations incoming.
}