40 calls to GetDocumentFromResponseTrait::getDocumentFromResponse()
- CommentExtrasTest::testPostIndividualSkipCommentApproval in core/
modules/ jsonapi/ tests/ src/ Functional/ CommentExtrasTest.php - Tests POSTing a comment with and without 'skip comment approval'.
- CommentTest::testCollectionFilterAccess in core/
modules/ jsonapi/ tests/ src/ Functional/ CommentTest.php - ConfigurableLanguageTest::testGetIndividualDefaultConfig in core/
modules/ jsonapi/ tests/ src/ Functional/ ConfigurableLanguageTest.php - Tests a GET request for a default config entity, which has a _core key.
- EntryPointTest::testEntryPoint in core/
modules/ jsonapi/ tests/ src/ Functional/ EntryPointTest.php - Test GET to the entry point.
- ExternalNormalizersTest::testFormatAgnosticNormalizers in core/
modules/ jsonapi/ tests/ src/ Functional/ ExternalNormalizersTest.php - Tests a format-agnostic normalizer.
- FileTest::testCollectionFilterAccess in core/
modules/ jsonapi/ tests/ src/ Functional/ FileTest.php - FileUploadTest::assertResponseData in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Asserts expected normalized data matches response data.
- 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::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::testDanglingReferencesInAnEntityReferenceFieldFromIssue2984647 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiRegressionTest.php - Cannot GET an entity with dangling references in an ER field.
- JsonApiRegressionTest::testEmptyMapFieldTypeDenormalization in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiRegressionTest.php - Ensure optional `@FieldType=map` fields are denormalized correctly.
- 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::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.
- MenuLinkContentTest::testLinkOptionsSerialization in core/
modules/ jsonapi/ tests/ src/ Functional/ MenuLinkContentTest.php - Tests requests using a serialized field item property.
- NodeTest::testCollectionFilterAccess in core/
modules/ jsonapi/ tests/ src/ Functional/ NodeTest.php - NodeTest::testPatchPath in core/
modules/ jsonapi/ tests/ src/ Functional/ NodeTest.php - Tests PATCHing a node's path with and without 'create url aliases'.
- ResourceTestBase::assertResourceResponse in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Asserts that a resource response has the given status code and body.
- ResourceTestBase::doTestPatchIndividual in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Tests PATCHing an individual resource, plus edge cases to ensure good DX.
- ResourceTestBase::doTestPostIndividual in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Tests POSTing an individual resource, plus edge cases to ensure good DX.
- ResourceTestBase::doTestRelationshipMutation in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Performs one round of relationship POST, PATCH and DELETE route testing.
- ShortcutTest::testCollectionFilterAccess in core/
modules/ jsonapi/ tests/ src/ Functional/ ShortcutTest.php - TermTest::testPatchPath in core/
modules/ jsonapi/ tests/ src/ Functional/ TermTest.php - Tests PATCHing a term's path.
- UserTest::testCollectionContainsAnonymousUser in core/
modules/ jsonapi/ tests/ src/ Functional/ UserTest.php - Tests that the collection contains the anonymous user.
- UserTest::testCollectionFilterAccess in core/
modules/ jsonapi/ tests/ src/ Functional/ UserTest.php - UserTest::testGetMailFieldOnlyVisibleToOwner in core/
modules/ jsonapi/ tests/ src/ Functional/ UserTest.php - Tests GETting privacy-sensitive base fields.
- UserTest::testPatchDxForSecuritySensitiveBaseFields in core/
modules/ jsonapi/ tests/ src/ Functional/ UserTest.php - Tests PATCHing security-sensitive base fields of the logged in account.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.