25 calls to ResourceTestBase::initAuthentication() in Drupal 9
- 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 - Tests a GET request for a default config entity, which has a _core key.
- 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.
- 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.
- FileUploadResourceTestBase::testFileUploadInvalidFileType in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload route with an invalid file type.
- FileUploadResourceTestBase::testFileUploadLargerFileSize in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload route with a file size larger than allowed.
- FileUploadResourceTestBase::testFileUploadMaliciousExtension in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route with malicious extensions.
- FileUploadResourceTestBase::testFileUploadNoExtensionSetting in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route no extension configured.
- FileUploadResourceTestBase::testFileUploadStrippedFilePath in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload route with any path prefixes being stripped.
- FileUploadResourceTestBase::testFileUploadUnicodeFilename in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload route with a unicode file name.
- FileUploadResourceTestBase::testFileUploadZeroByteFile in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload route with a zero byte file.
- FileUploadResourceTestBase::testPostFileUpload in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route.
- FileUploadResourceTestBase::testPostFileUploadDuplicateFile in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route with a duplicate file name.
- FileUploadResourceTestBase::testPostFileUploadDuplicateFileRaceCondition in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route twice, simulating a race condition.
- FileUploadResourceTestBase::testPostFileUploadInvalidHeaders in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route with invalid headers.
- 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'.
- 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::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.