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>
This commit is contained in:
6543 2020-10-06 21:15:19 +00:00 committed by Andrew Thornton
parent 2afffe1ca9
commit 3c8ff9d91c
1 changed files with 1 additions and 1 deletions

View File

@ -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)