You are here

32 calls to JsonApiFunctionalTestBase::request() in Drupal 9

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.
JsonApiRegressionTest::testAliasedFieldsWithVirtualRelationships in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Tests that "virtual/missing" resources can exist for renamed fields.
JsonApiRegressionTest::testBundlelessRelationshipMutationFromIssue2973681 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensure POST and PATCH works for bundle-less relationship routes.
JsonApiRegressionTest::testBundleSpecificTargetEntityTypeFromIssue2953207 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensure filtering on relationships works with bundle-specific target types.
JsonApiRegressionTest::testDanglingReferencesInAnEntityReferenceFieldFromIssue2968972 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Cannot PATCH an entity with dangling references in an ER field.
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::testEmptyRelationshipFilteringFromIssue3025372 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensure filtering for entities with empty entity reference fields works.
JsonApiRegressionTest::testFilterByIdFromIssue3015759 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensures that filtering by a sequential internal ID named 'id' is possible.
JsonApiRegressionTest::testFilteringEntitiesByEntityReferenceTargetId in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Tests that collections can be filtered by an entity reference target_id.
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::testLeakedCacheMetadataViaRdfFromIssue3053827 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensure that child comments can be retrieved via JSON:API.
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::testNonTranslatableEntityUpdatesFromIssue3043168 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensure non-translatable entities can be PATCHed with an alternate language.
JsonApiRegressionTest::testPageCacheFromIssue3009596 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensures that Drupal's page cache is effective.
JsonApiRegressionTest::testPatchingDateTimeFieldsFromIssue3021194 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensures PATCHing datetime (both date-only & date+time) fields is possible.
JsonApiRegressionTest::testPatchingDateTimeNormalizedWrongTimeZoneIssue3021194 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensures datetime fields are normalized using the correct timezone.
JsonApiRegressionTest::testPatchToIncludeUrlDoesNotReturnIncludeFromIssue3026030 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensure includes are respected even when PATCHing.
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.