Merge branch 'master' into advanced-permissions-phase-2
Этот коммит содержится в:
@@ -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) {
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
MaxEmojiFileSize = 1000 * 1024 // 1 MB
|
||||
MaxEmojiFileSize = 1 << 20 // 1 MB
|
||||
MaxEmojiWidth = 128
|
||||
MaxEmojiHeight = 128
|
||||
)
|
||||
|
||||
Ссылка в новой задаче
Block a user