13 calls to ResourceTestBase::assertResourceResponse() in Drupal 9
- CommentResourceTestBase::testPostSkipCommentApproval in core/
modules/ comment/ tests/ src/ Functional/ Rest/ CommentResourceTestBase.php - Tests POSTing a comment with and without 'skip comment approval'.
- DbLogResourceTest::testWatchdog in core/
modules/ dblog/ tests/ src/ Functional/ DbLogResourceTest.php - Writes a log messages and retrieves it via the REST API.
- EntityResourceTestBase::testDelete in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Tests a DELETE request for an entity, plus edge cases to ensure good DX.
- EntityResourceTestBase::testGet in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Tests a GET request for an entity, plus edge cases to ensure good DX.
- EntityResourceTestBase::testPatch in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Tests a PATCH request for an entity, plus edge cases to ensure good DX.
- EntityResourceTestBase::testPost in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Tests a POST request for an entity, plus edge cases to ensure good DX.
- FileUploadResourceTestBase::testPostFileUpload in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route.
- NodeResourceTestBase::testPatchPath in core/
modules/ node/ tests/ src/ Functional/ Rest/ NodeResourceTestBase.php - Tests PATCHing a node's path with and without 'create url aliases'.
- OverrideSectionsTest::testOverrideField in core/
modules/ layout_builder/ tests/ src/ Functional/ Rest/ OverrideSectionsTest.php - Tests that the layout override field is not normalized.
- ResourceTestBase::assertResourceErrorResponse in core/
modules/ rest/ tests/ src/ Functional/ ResourceTestBase.php - Asserts that a resource error response has the given message.
- RestRegisterUserTest::registerUser in core/
modules/ user/ tests/ src/ Functional/ RestRegisterUserTest.php - Registers a user via REST resource.
- TermResourceTestBase::testPatchPath in core/
modules/ taxonomy/ tests/ src/ Functional/ Rest/ TermResourceTestBase.php - Tests PATCHing a term's path.
- UserResourceTestBase::testPatchDxForSecuritySensitiveBaseFields in core/
modules/ user/ tests/ src/ Functional/ Rest/ UserResourceTestBase.php - Tests PATCHing security-sensitive base fields of the logged in account.