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:
parent
2afffe1ca9
commit
3c8ff9d91c
1 changed files with 1 additions and 1 deletions
|
@ -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