diff --git a/api4/system_test.go b/api4/system_test.go index d4134f8e2b..0a987644d5 100644 --- a/api4/system_test.go +++ b/api4/system_test.go @@ -614,13 +614,6 @@ func TestS3TestConnection(t *testing.T) { config.FileSettings.AmazonS3Region = "" _, resp = th.SystemAdminClient.TestS3Connection(&config) 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) {