fixed test

This commit is contained in:
2023-03-30 10:31:09 +02:00
parent 8a791d8017
commit 1db0adf298

View File

@@ -81,7 +81,7 @@ var dbtests = []struct {
"2023-03-10T11:45:00.000Z", "", "",
common.Upload{
Id: "1", Expire: "asap", File: "none", Context: "foo",
Created: common.Timestamp{}},
Created: common.Timestamp{}, Type: common.TypeUpload},
common.Form{},
},
{
@@ -90,7 +90,7 @@ var dbtests = []struct {
common.Upload{},
common.Form{
Id: "1", Expire: "asap", Description: "none", Context: "foo",
Created: common.Timestamp{}},
Created: common.Timestamp{}, Type: common.TypeForm},
},
}