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
1 changed files with 3 additions and 2 deletions

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)