function JsonApiJsonSchemaTestTrait::getJsonSchemaTestNormalizationFormat

Overrides JsonSchemaTestTrait::getJsonSchemaTestNormalizationFormat

3 calls to JsonApiJsonSchemaTestTrait::getJsonSchemaTestNormalizationFormat()
JsonApiTopLevelResourceNormalizerTest::testConfigEntityResourceObjectSchema in core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php
Test the generated config resource object normalization against the schema.
JsonApiTopLevelResourceNormalizerTest::testResourceObjectSchema in core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php
Test the generated resource object normalization against the schema.
JsonApiTopLevelResourceNormalizerTest::testTopLevelResourceWithSingleResource in core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php

File

core/modules/jsonapi/tests/src/Traits/JsonApiJsonSchemaTestTrait.php, line 23

Class

JsonApiJsonSchemaTestTrait

Namespace

Drupal\Tests\jsonapi\Traits

Code

protected function getJsonSchemaTestNormalizationFormat() : ?string {
    return 'api_json';
}

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