diff options
author | Jesús Espino <jespinog@gmail.com> | 2018-06-19 19:40:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-19 19:40:26 +0200 |
commit | 344836dfb22fb36d4d2740c5ec226de78d9dcd3c (patch) | |
tree | 017252735807495c82c9111dbf4a2c8573b0ec2a /api4/system_test.go | |
parent | 226d4b2ac8888646271b9e9e83a513cd6e62d620 (diff) | |
download | chat-344836dfb22fb36d4d2740c5ec226de78d9dcd3c.tar.gz chat-344836dfb22fb36d4d2740c5ec226de78d9dcd3c.tar.bz2 chat-344836dfb22fb36d4d2740c5ec226de78d9dcd3c.zip |
Add missed translations (#8959)
Diffstat (limited to 'api4/system_test.go')
-rw-r--r-- | api4/system_test.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/api4/system_test.go b/api4/system_test.go index f784a8be4..099c193d0 100644 --- a/api4/system_test.go +++ b/api4/system_test.go @@ -696,9 +696,7 @@ func TestS3TestConnection(t *testing.T) { config.FileSettings.AmazonS3Bucket = "Wrong_bucket" _, resp = th.SystemAdminClient.TestS3Connection(&config) CheckInternalErrorStatus(t, resp) - if resp.Error.Message != "Unable to create bucket" { - t.Fatal("should return error ") - } + assert.Equal(t, "Unable to create bucket.", resp.Error.Message) config.FileSettings.AmazonS3Bucket = "shouldcreatenewbucket" _, resp = th.SystemAdminClient.TestS3Connection(&config) |