forked from TrueCloudLab/restic
Update tests for new s3 lib
This commit is contained in:
parent
10cd672a92
commit
3bf447b422
1 changed files with 3 additions and 2 deletions
|
@ -34,10 +34,11 @@ func setupS3Backend(t *testing.T) *bes3.S3Backend {
|
|||
S3LocationConstraint: true, // s3test server requires a LocationConstraint
|
||||
}
|
||||
|
||||
s.auth = aws.Auth{"abc", "123", ""}
|
||||
s.auth = aws.Auth{"abc", "123"}
|
||||
|
||||
service := s3.New(s.auth, s.region)
|
||||
bucket := service.Bucket("testbucket")
|
||||
bucket, berr := service.Bucket("testbucket")
|
||||
OK(t, err)
|
||||
err = bucket.PutBucket("private")
|
||||
OK(t, err)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue