33 calls to JsonApiFunctionalTestBase::request()

JsonApiFilterRegressionTest::testBundleSpecificTargetEntityTypeFromIssue2953207 in core/modules/jsonapi/tests/src/Functional/JsonApiFilterRegressionTest.php
Ensure filtering on relationships works with bundle-specific target types.
JsonApiFilterRegressionTest::testEmptyRelationshipFilteringFromIssue3025372 in core/modules/jsonapi/tests/src/Functional/JsonApiFilterRegressionTest.php
Ensure filtering for entities with empty entity reference fields works.
JsonApiFilterRegressionTest::testFilterByIdFromIssue3015759 in core/modules/jsonapi/tests/src/Functional/JsonApiFilterRegressionTest.php
Ensures that filtering by a sequential internal ID named 'id' is possible.
JsonApiFilterRegressionTest::testFilteringEntitiesByEntityReferenceTargetId in core/modules/jsonapi/tests/src/Functional/JsonApiFilterRegressionTest.php
Tests that collections can be filtered by an entity reference target_id.
JsonApiFunctionalMultilingualTest::testDeleteMultilingual in core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalMultilingualTest.php
Tests deleting multilingual content.
JsonApiFunctionalMultilingualTest::testPatchTranslation in core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalMultilingualTest.php
Tests updating a translation.
JsonApiFunctionalMultilingualTest::testPatchTranslationFallback in core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalMultilingualTest.php
Tests updating a translation fallback.
JsonApiFunctionalMultilingualTest::testPostTranslation in core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalMultilingualTest.php
Tests creating a translation.
JsonApiFunctionalTest::testRead in core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTest.php
Tests the GET method.
JsonApiFunctionalTest::testWrite in core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTest.php
Tests POST, PATCH and DELETE.
JsonApiPatchRegressionTest::testBundlelessRelationshipMutationFromIssue2973681 in core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php
Ensure POST and PATCH works for bundle-less relationship routes.
JsonApiPatchRegressionTest::testBundleSpecificTargetEntityTypeFromIssue2953207 in core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php
Ensure filtering on relationships works with bundle-specific target types.
JsonApiPatchRegressionTest::testDanglingReferencesInAnEntityReferenceFieldFromIssue2968972 in core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php
Cannot PATCH an entity with dangling references in an ER field.
JsonApiPatchRegressionTest::testNonTranslatableEntityUpdatesFromIssue3043168 in core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php
Ensure non-translatable entities can be PATCHed with an alternate language.
JsonApiPatchRegressionTest::testPatchingDateTimeFieldsFromIssue3021194 in core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php
Ensures PATCHing datetime (both date-only & date+time) fields is possible.
JsonApiPatchRegressionTest::testPatchInvalidFieldPropertyFromIssue3127883 in core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php
Ensure PATCHing a non-existing field property results in a helpful error.
JsonApiPatchRegressionTest::testPatchToIncludeUrlDoesNotReturnIncludeFromIssue3026030 in core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php
Ensure includes are respected even when PATCHing.
JsonApiRegressionTest::testAliasedFieldsWithVirtualRelationships in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Tests that "virtual/missing" resources can exist for renamed fields.
JsonApiRegressionTest::testDanglingReferencesInAnEntityReferenceFieldFromIssue2984647 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Cannot GET an entity with dangling references in an ER field.
JsonApiRegressionTest::testDeepNestedIncludeMultiTargetEntityTypeFieldFromIssue2973681 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensure deep nested include works on multi target entity type field.
JsonApiRegressionTest::testDenormalizeAliasedRelationshipFromIssue2953207 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensures denormalizing relationships with aliased field names works.
JsonApiRegressionTest::testEmptyMapFieldTypeDenormalization in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensure optional `@FieldType=map` fields are denormalized correctly.
JsonApiRegressionTest::testGetNodeCollectionWithHookNodeGrantsImplementationsFromIssue2984964 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensures GETting node collection + hook_node_grants() implementations works.
JsonApiRegressionTest::testGetTermWhenMultipleVocabulariesExistFromIssue2977879 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensures GETting terms works when multiple vocabularies exist.
JsonApiRegressionTest::testInvalidDataTriggersUnprocessableEntityErrorFromIssue3052954 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensure POSTing invalid data results in a 422 response, not a PHP error.
JsonApiRegressionTest::testLeakCacheMetadataInOmitted in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensure EntityAccessDeniedHttpException cacheability is taken into account.
JsonApiRegressionTest::testMapFieldTypeNormalizationFromIssue3040590 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensure `@FieldType=map` fields are normalized correctly.
JsonApiRegressionTest::testNonCacheableMethods in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Tests that caching isn't happening for non-cacheable methods.
JsonApiRegressionTest::testPageCacheFromIssue3009596 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensures that Drupal's page cache is effective.
JsonApiRegressionTest::testPatchingDateTimeNormalizedWrongTimeZoneIssue3021194 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensures datetime fields are normalized using the correct timezone.
JsonApiRegressionTest::testPostToIncludeUrlDoesNotReturnIncludeFromIssue3026030 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensure includes are respected even when POSTing.
JsonApiRegressionTest::testRecursionDetectedWhenResponseContainsViolationsFrom3042124 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Tests that the response still has meaningful error messages.
JsonApiRegressionTest::testThatRoutesAreRebuiltAfterDataModelChangesFromIssue2984886 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensures that JSON:API routes are caches are dynamically rebuilt.

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