12 calls to FileUploadTest::setUpAuthorization() in Drupal 9
- FileUploadTest::testFileUploadInvalidFileType in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the file upload route with an invalid file type.
- FileUploadTest::testFileUploadLargerFileSize in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the file upload route with a file size larger than allowed.
- FileUploadTest::testFileUploadMaliciousExtension in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the file upload POST route with malicious extensions.
- FileUploadTest::testFileUploadNoExtensionSetting in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the file upload POST route no extension configured.
- FileUploadTest::testFileUploadStrippedFilePath in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the file upload route with any path prefixes being stripped.
- FileUploadTest::testFileUploadUnicodeFilename in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the file upload route with a unicode file name.
- FileUploadTest::testFileUploadZeroByteFile in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the file upload route with a zero byte file.
- FileUploadTest::testPostFileUpload in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the file upload POST route; needs second request to "use" file.
- FileUploadTest::testPostFileUploadAndUseInSingleRequest in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the 'file upload and "use" file in single request" POST route.
- FileUploadTest::testPostFileUploadDuplicateFile in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the file upload POST route with a duplicate file name.
- FileUploadTest::testPostFileUploadDuplicateFileRaceCondition in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the file upload POST route twice, simulating a race condition.
- FileUploadTest::testPostFileUploadInvalidHeaders in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the file upload POST route with invalid headers.