mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-19 05:30:43 +00:00
CE-1772: s3 updates to allow content type specifications among other things
This commit is contained in:
@ -31,7 +31,7 @@ import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Unit test for S3UploadOutputStream
|
||||
** Unit test for S3UploadOutputStream
|
||||
*******************************************************************************/
|
||||
class S3UploadOutputStreamTest extends BaseS3Test
|
||||
{
|
||||
@ -57,11 +57,11 @@ class S3UploadOutputStreamTest extends BaseS3Test
|
||||
outputStream.write("\n]\n".getBytes(StandardCharsets.UTF_8));
|
||||
outputStream.close();
|
||||
|
||||
S3UploadOutputStream s3UploadOutputStream = new S3UploadOutputStream(getS3Utils().getAmazonS3(), bucketName, key);
|
||||
S3UploadOutputStream s3UploadOutputStream = new S3UploadOutputStream(getS3Utils().getAmazonS3(), bucketName, key, null);
|
||||
s3UploadOutputStream.write(outputStream.toByteArray(), 0, 5 * 1024 * 1024);
|
||||
s3UploadOutputStream.write(outputStream.toByteArray(), 0, 3 * 1024 * 1024);
|
||||
s3UploadOutputStream.write(outputStream.toByteArray(), 0, 3 * 1024 * 1024);
|
||||
s3UploadOutputStream.close();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user