Этот коммит содержится в:
Carlos Tadeu Panato Junior
2018-05-10 14:43:49 +02:00
коммит произвёл Derrick Anderson
родитель a752d7de5a
Коммит 823b22c403

Просмотреть файл

@@ -618,9 +618,14 @@ func TestS3TestConnection(t *testing.T) {
config.FileSettings.AmazonS3Bucket = "Wrong_bucket"
_, resp = th.SystemAdminClient.TestS3Connection(&config)
CheckInternalErrorStatus(t, resp)
if resp.Error.Message != "Error checking if bucket exists." {
if resp.Error.Message != "Unable to create bucket" {
t.Fatal("should return error ")
}
config.FileSettings.AmazonS3Bucket = "shouldcreatenewbucket"
_, resp = th.SystemAdminClient.TestS3Connection(&config)
CheckOKStatus(t, resp)
}
func TestSupportedTimezones(t *testing.T) {