summaryrefslogtreecommitdiffstats
path: root/api4/system_test.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2018-05-09 18:03:28 -0700
committerChristopher Speller <crspeller@gmail.com>2018-05-09 18:03:28 -0700
commit454c113b4e74fac86175a1570913576c305b8e1d (patch)
treeca484efcf67e89acb1fbf72c7abbd7c058f5e41c /api4/system_test.go
parent2eed7e4ebf88da730a93d91ec35139d74db85bc0 (diff)
downloadchat-454c113b4e74fac86175a1570913576c305b8e1d.tar.gz
chat-454c113b4e74fac86175a1570913576c305b8e1d.tar.bz2
chat-454c113b4e74fac86175a1570913576c305b8e1d.zip
Removing bad test.
Diffstat (limited to 'api4/system_test.go')
-rw-r--r--api4/system_test.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/api4/system_test.go b/api4/system_test.go
index d4134f8e2..0a987644d 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) {