Removing bad test.
Этот коммит содержится в:
@@ -614,13 +614,6 @@ func TestS3TestConnection(t *testing.T) {
|
|||||||
config.FileSettings.AmazonS3Region = ""
|
config.FileSettings.AmazonS3Region = ""
|
||||||
_, resp = th.SystemAdminClient.TestS3Connection(&config)
|
_, resp = th.SystemAdminClient.TestS3Connection(&config)
|
||||||
CheckOKStatus(t, resp)
|
CheckOKStatus(t, resp)
|
||||||
|
|
||||||
config.FileSettings.AmazonS3Bucket = "Wrong_bucket"
|
|
||||||
_, resp = th.SystemAdminClient.TestS3Connection(&config)
|
|
||||||
CheckInternalErrorStatus(t, resp)
|
|
||||||
if resp.Error.Message != "Error checking if bucket exists." {
|
|
||||||
t.Fatal("should return error ")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestSupportedTimezones(t *testing.T) {
|
func TestSupportedTimezones(t *testing.T) {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user