diff --git a/bag_replicator/src/test/scala/weco/storage/transfer/fixtures/S3TransferManagerFixtures.scala b/bag_replicator/src/test/scala/weco/storage/transfer/fixtures/S3TransferManagerFixtures.scala index 12fa2e42b..12ffe60da 100644 --- a/bag_replicator/src/test/scala/weco/storage/transfer/fixtures/S3TransferManagerFixtures.scala +++ b/bag_replicator/src/test/scala/weco/storage/transfer/fixtures/S3TransferManagerFixtures.scala @@ -9,7 +9,7 @@ import java.net.URI trait S3TransferManagerFixtures extends S3Fixtures { def createS3TransferManagerWithEndpoint(endpoint: String): S3TransferManager = { val s3AsyncClient = - S3AsyncClient.builder() + S3AsyncClient.crtBuilder() .credentialsProvider(s3Credentials) .forcePathStyle(true) .endpointOverride(new URI(endpoint))