Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnovaae committed Mar 11, 2024
1 parent e62c933 commit 8557300
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import org.junit.jupiter.api.extension.ExtensionContext;
import software.amazon.awssdk.core.sync.RequestBody;
import software.amazon.awssdk.services.s3.S3Client;
import software.amazon.awssdk.services.s3.S3ClientBuilder;
import software.amazon.awssdk.services.s3.model.*;

import java.net.URI;
Expand All @@ -27,10 +26,9 @@ public void beforeAll(ExtensionContext context) throws Exception {

API.start();

S3ClientBuilder builder = S3Client.builder();
builder.region(S3_REGION);
builder.endpointOverride(new URI(TEST_ENDPOINT));
S3_CLIENT = builder
S3_CLIENT = S3Client.builder()
.region(S3_REGION)
.endpointOverride(new URI(TEST_ENDPOINT))
.build();

createBucket();
Expand Down

0 comments on commit 8557300

Please sign in to comment.