Skip to content

Commit

Permalink
fix: fix Go tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalinDe committed Nov 21, 2023
1 parent a4b1645 commit b619215
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration/performance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)),
Expand Down

0 comments on commit b619215

Please sign in to comment.