27 calls to ResourceTestBase::request() in Drupal 8
- CommentResourceTestBase::testPostDxWithoutCriticalBaseFields in core/
modules/ comment/ tests/ src/ Functional/ Rest/ CommentResourceTestBase.php - Tests POSTing a comment without critical base fields.
- CommentResourceTestBase::testPostSkipCommentApproval in core/
modules/ comment/ tests/ src/ Functional/ Rest/ CommentResourceTestBase.php - Tests POSTing a comment with and without 'skip comment approval'
- ConfigurableLanguageResourceTestBase::testGetDefaultConfig in core/
modules/ language/ tests/ src/ Functional/ Rest/ ConfigurableLanguageResourceTestBase.php - Test a GET request for a default config entity, which has a _core key.
- DbLogResourceTest::testWatchdog in core/
modules/ dblog/ tests/ src/ Functional/ DbLogResourceTest.php - Writes a log messages and retrieves it via the REST API.
- EntityResourceTestBase::assertNormalizationEdgeCases in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Asserts normalization-specific edge cases.
- EntityResourceTestBase::assertResourceNotAvailable in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Asserts that a resource is unavailable: 404, 406 if it has canonical route.
- 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 - Test 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.
- EntityTestDateonlyTest::assertNormalizationEdgeCases in core/
modules/ datetime/ tests/ src/ Functional/ EntityResource/ EntityTest/ EntityTestDateonlyTest.php - Asserts normalization-specific edge cases.
- EntityTestDateRangeTest::assertNormalizationEdgeCases in core/
modules/ datetime_range/ tests/ src/ Functional/ EntityResource/ EntityTest/ EntityTestDateRangeTest.php - Asserts normalization-specific edge cases.
- EntityTestDatetimeTest::assertNormalizationEdgeCases in core/
modules/ datetime/ tests/ src/ Functional/ EntityResource/ EntityTest/ EntityTestDatetimeTest.php - Asserts normalization-specific edge cases.
- EntityTestTextItemNormalizerTest::testGetWithFormat in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Rest/ EntityTestTextItemNormalizerTest.php - Tests GETting an entity with the test text field set to a specific format.
- FileHalJsonAnonTest::testGetBcUriField in core/
modules/ file/ tests/ src/ Functional/ Hal/ FileHalJsonAnonTest.php - @group legacy @expectedDeprecation Replacing the file uri with the URL is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the provided url property instead and disable hal.settings:bc_file_uri_as_url_normalizer. See…
- FileUploadResourceTestBase::fileRequest in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Performs a file upload request. Wraps the Guzzle HTTP client.
- FileUploadResourceTestBase::testPostFileUpload in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route.
- LayoutRestTestBase::request in core/
modules/ layout_builder/ tests/ src/ Functional/ Rest/ LayoutRestTestBase.php - Performs a HTTP request. Wraps the Guzzle HTTP client.
- MediaResourceTestBase::uploadFile in core/
modules/ media/ tests/ src/ Functional/ Rest/ MediaResourceTestBase.php - This duplicates some of the 'file_upload' REST resource plugin test coverage, to be able to test it on a concrete use case.
- NodeResourceTestBase::testPatchPath in core/
modules/ node/ tests/ src/ Functional/ Rest/ NodeResourceTestBase.php - Tests PATCHing a node's path with and without 'create url aliases'.
- RestJsonApiUnsupported::testApiJsonNotSupportedInRest in core/
modules/ jsonapi/ tests/ src/ Functional/ RestJsonApiUnsupported.php - Deploying a REST resource using api_json format results in 400 responses.
- RestRegisterUserTest::registerRequest in core/
modules/ user/ tests/ src/ Functional/ RestRegisterUserTest.php - Make a REST user registration request.
- TermResourceTestBase::testGetTermWithParent in core/
modules/ taxonomy/ tests/ src/ Functional/ Rest/ TermResourceTestBase.php - Tests GETting a term with a parent term other than the default <root> (0).
- TermResourceTestBase::testPatchPath in core/
modules/ taxonomy/ tests/ src/ Functional/ Rest/ TermResourceTestBase.php - Tests PATCHing a term's path.
- UserResourceTestBase::assertRpcLogin in core/
modules/ user/ tests/ src/ Functional/ Rest/ UserResourceTestBase.php - Verifies that logging in with the given username and password works.
- UserResourceTestBase::testPatchDxForSecuritySensitiveBaseFields in core/
modules/ user/ tests/ src/ Functional/ Rest/ UserResourceTestBase.php - Tests PATCHing security-sensitive base fields of the logged in account.
- UserResourceTestBase::testPatchSecurityOtherUser in core/
modules/ user/ tests/ src/ Functional/ Rest/ UserResourceTestBase.php - Tests PATCHing security-sensitive base fields to change other users.