Fix tests

This commit is contained in:
Zdenek Topic 2018-10-19 12:48:48 +02:00
parent 647742480a
commit 7c7eac6bad
No known key found for this signature in database
GPG Key ID: 41897C1A6A09DEF5
1 changed files with 2 additions and 2 deletions

View File

@ -122,13 +122,13 @@ fileprivate extension S3AdapterTests {
func createAdapter() throws -> S3Adapter {
return try S3Adapter(
bucket: Environment.get("S3_BUCKET")!,
config: S3Adapter.Config(
bucket: Environment.get("S3_BUCKET")!,
region: .euCentral1,
auth: S3Adapter.Auth(
accessKey: Environment.get("S3_ACCESS_KEY")!,
secretKey: Environment.get("S3_SECRET_KEY")!
),
region: .euCentral1,
defaultAccess: .privateAccess
)
)