Skip to content

Commit 7dbea87

Browse files
committed
refactor doUploadDirectory unit tests
1 parent 61951e6 commit 7dbea87

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

blob/blob-aws/src/test/java/com/salesforce/multicloudj/blob/aws/async/AwsAsyncBlobStoreTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ void doDownloadDirectory() throws ExecutionException, InterruptedException {
13091309
}
13101310

13111311
@Test
1312-
void doUploadDirectory() throws ExecutionException, InterruptedException, IOException {
1312+
void doUploadDirectory() throws ExecutionException, InterruptedException {
13131313
DirectoryUpload mockDirectoryUpload = mock(DirectoryUpload.class);
13141314
CompletedDirectoryUpload mockCompletedUpload = mock(CompletedDirectoryUpload.class);
13151315
doReturn(mockDirectoryUpload)
@@ -1342,7 +1342,7 @@ void doUploadDirectory() throws ExecutionException, InterruptedException, IOExce
13421342
}
13431343

13441344
@Test
1345-
void doUploadDirectory_WithTags() throws ExecutionException, InterruptedException, IOException {
1345+
void doUploadDirectory_WithTags() throws ExecutionException, InterruptedException {
13461346
Map<String, String> tags = Map.of("tag1", "value1", "tag2", "value2");
13471347

13481348
DirectoryUpload mockDirectoryUpload = mock(DirectoryUpload.class);
@@ -1380,7 +1380,7 @@ void doUploadDirectory_WithTags() throws ExecutionException, InterruptedExceptio
13801380

13811381
@Test
13821382
void doUploadDirectory_FollowSymbolicLinks()
1383-
throws ExecutionException, InterruptedException, IOException {
1383+
throws ExecutionException, InterruptedException {
13841384
DirectoryUpload mockDirectoryUpload = mock(DirectoryUpload.class);
13851385
CompletedDirectoryUpload mockCompletedUpload = mock(CompletedDirectoryUpload.class);
13861386
doReturn(mockDirectoryUpload)

0 commit comments

Comments
 (0)