20 calls to ResourceTestBase::assertResourceResponse() in Drupal 8
- CommentTest::testPostIndividualSkipCommentApproval in core/
modules/ jsonapi/ tests/ src/ Functional/ CommentTest.php - Tests POSTing a comment with and without 'skip comment approval'.
- FileUploadTest::testPostFileUpload in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the file upload POST route; needs second request to "use" file.
- MenuLinkContentTest::testLinkOptionsSerialization in core/
modules/ jsonapi/ tests/ src/ Functional/ MenuLinkContentTest.php - Test requests using a serialized field item property.
- NodeTest::testGetIndividual in core/
modules/ jsonapi/ tests/ src/ Functional/ NodeTest.php - Tests GETting an individual resource, plus edge cases to ensure good DX.
- NodeTest::testPatchPath in core/
modules/ jsonapi/ tests/ src/ Functional/ NodeTest.php - Tests PATCHing a node's path with and without 'create url aliases'.
- NodeTest::testPostNonExistingAuthor in core/
modules/ jsonapi/ tests/ src/ Functional/ NodeTest.php - Creating relationships to missing resources should be 404 per JSON:API 1.1.
- ResourceTestBase::assertResourceErrorResponse in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Asserts that a resource error response has the given message.
- ResourceTestBase::doTestIncluded in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Tests included resources.
- ResourceTestBase::doTestRelated in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Performs one round of related route testing.
- ResourceTestBase::doTestRelationshipGet in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Performs one round of relationship route testing.
- ResourceTestBase::doTestRelationshipMutation in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Performs one round of relationship POST, PATCH and DELETE route testing.
- ResourceTestBase::doTestSparseFieldSets in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Tests sparse field sets.
- ResourceTestBase::testCollection in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Tests GETting a collection of resources.
- ResourceTestBase::testDeleteIndividual in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Tests DELETEing an individual resource, plus edge cases to ensure good DX.
- ResourceTestBase::testGetIndividual in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Tests GETting an individual resource, plus edge cases to ensure good DX.
- ResourceTestBase::testPatchIndividual in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Tests PATCHing an individual resource, plus edge cases to ensure good DX.
- ResourceTestBase::testPostIndividual in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Tests POSTing an individual resource, plus edge cases to ensure good DX.
- ResourceTestBase::testRevisions in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Tests individual and collection revisions.
- TermTest::testPatchPath in core/
modules/ jsonapi/ tests/ src/ Functional/ TermTest.php - Tests PATCHing a term's path.
- UserTest::testPatchDxForSecuritySensitiveBaseFields in core/
modules/ jsonapi/ tests/ src/ Functional/ UserTest.php - Tests PATCHing security-sensitive base fields of the logged in account.