2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-04 20:37:49 +00:00

Update tests for new s3 lib

This commit is contained in:
Chris Howey 2015-08-26 07:44:00 -05:00
parent 10cd672a92
commit 3bf447b422

View File

@ -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)