mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
fix: s3 unit test error
This commit is contained in:
1 file changed
+1
-1
@@ -83,7 +83,7 @@ class S3ServiceTest {
|
||||
|
||||
@Test
|
||||
void putObjectLastModifiedHasSecondPrecision() {
|
||||
s3Service.createBucket("test-bucket");
|
||||
s3Service.createBucket("test-bucket", null);
|
||||
S3Object obj = s3Service.putObject("test-bucket", "file.txt", "data".getBytes(), null, null);
|
||||
assertEquals(0, obj.getLastModified().getNano());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user