mirror of
https://gitea.com/gitea/go-sdk.git
synced 2024-06-02 02:01:25 +05:30
Update Default Settings for Tests (#435) Update Default Settings for Tests Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/435 Reviewed-by: techknowlogick <techknowlogick@gitea.io> Reviewed-by: Andrew Thornton <art27@cantab.net> Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/436 Reviewed-by: techknowlogick <techknowlogick@gitea.io> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
2e4d339799
commit
6365100abb
|
@ -40,7 +40,7 @@ func TestGetGlobalSettings(t *testing.T) {
|
|||
assert.NoError(t, err)
|
||||
assert.EqualValues(t, &GlobalAttachmentSettings{
|
||||
Enabled: true,
|
||||
AllowedTypes: "image/jpeg,image/png,application/zip,application/gzip",
|
||||
AllowedTypes: ".docx,.gif,.gz,.jpeg,.jpg,.log,.pdf,.png,.pptx,.txt,.xlsx,.zip",
|
||||
MaxSize: 4,
|
||||
MaxFiles: 5,
|
||||
}, attachSettings)
|
||||
|
|
Loading…
Reference in a new issue