From b6192154e0d6d8daf30d2c93352c8ab49924e024 Mon Sep 17 00:00:00 2001 From: Carine Dengler Date: Tue, 21 Nov 2023 17:25:46 +0100 Subject: [PATCH] fix: fix Go tests --- integration/performance_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration/performance_test.go b/integration/performance_test.go index f9e78034e..6336e5941 100644 --- a/integration/performance_test.go +++ b/integration/performance_test.go @@ -61,7 +61,7 @@ func BenchmarkIntegration_CustomVotesScenario(b *testing.B) { } // ##### CREATE FORM ##### - formID, err := createFormNChunks(m, "Three votes form", adminID, numChunksPerBallot) + formID, err := createFormNChunks(m, types.Title{En: "Three votes form", Fr: "", De: ""}, adminID, numChunksPerBallot) require.NoError(b, err) time.Sleep(time.Millisecond * 1000) @@ -157,14 +157,14 @@ func createFormNChunks(m txManager, title types.Title, admin string, numChunks i Scaffold: []types.Subject{ { ID: "aa", - Title: {En: "subject1", Fr: "", De: ""}, + Title: types.Title{En: "subject1", Fr: "", De: ""}, Order: nil, Subjects: nil, Selects: nil, Ranks: []types.Rank{}, Texts: []types.Text{{ ID: "bb", - Title: {En: "Enter favorite snack", Fr: "", De: ""}, + Title: types.Title{En: "Enter favorite snack", Fr: "", De: ""}, MaxN: 1, MinN: 0, MaxLength: uint(base64.StdEncoding.DecodedLen(textSize)),