From 1db0adf298d6b86d663cbfd0a92f4d9bcf0b0258 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Thu, 30 Mar 2023 10:31:09 +0200 Subject: [PATCH] fixed test --- api/db_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/db_test.go b/api/db_test.go index fff8efc..4227412 100644 --- a/api/db_test.go +++ b/api/db_test.go @@ -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}, }, }