10 calls to UploadFileServiceTest::getUploadedFile() in GraphQL 8.4
- UploadFileServiceTest::testExtensionRenaming in tests/
src/ Kernel/ Framework/ UploadFileServiceTest.php - Tests that the uploaded file extension is renamed to txt.
- UploadFileServiceTest::testExtensionValidation in tests/
src/ Kernel/ Framework/ UploadFileServiceTest.php - Tests that the uploaded file extension is validated.
- UploadFileServiceTest::testFileTooLarge in tests/
src/ Kernel/ Framework/ UploadFileServiceTest.php - Tests that a too large file returns a violation.
- UploadFileServiceTest::testLockReleased in tests/
src/ Kernel/ Framework/ UploadFileServiceTest.php - Tests that the file lock is released on validation errors.
- UploadFileServiceTest::testMissingSettings in tests/
src/ Kernel/ Framework/ UploadFileServiceTest.php - Tests that missing settings keys throw an exception.
- UploadFileServiceTest::testPartialFile in tests/
src/ Kernel/ Framework/ UploadFileServiceTest.php - Tests that a partial file returns a violation.
- UploadFileServiceTest::testSizeValidation in tests/
src/ Kernel/ Framework/ UploadFileServiceTest.php - Tests that the file must not be larger than the file size limit.
- UploadFileServiceTest::testSuccess in tests/
src/ Kernel/ Framework/ UploadFileServiceTest.php - Ensure that a correct file upload works.
- UploadFileServiceTest::testSuccessWithMultipleFileUploads in tests/
src/ Kernel/ Framework/ UploadFileServiceTest.php - Tests successful scenario with multiple file uploads.
- UploadFileServiceTest::testUnsuccessWithMultipleFileUploads in tests/
src/ Kernel/ Framework/ UploadFileServiceTest.php - Tests unsuccessful scenario with multiple file uploads.