Skip to content

Commit

Permalink
fix: fix setupQuestionnairesTest and updateQuestionnaireTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Eraxyso authored Jan 9, 2025
1 parent 2517d41 commit c78d59e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions model/questionnaires_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ func setupQuestionnairesTest(t *testing.T) {
Session(&gorm.Session{NewDB: true}).
Create(respondentData.respondent).Error
if err != nil {
t.Error("failed to create respondent: %w", err)
t.Errorf("failed to create respondent: %v", err)
}
}
}
Expand Down Expand Up @@ -759,15 +759,15 @@ func updateQuestionnaireTest(t *testing.T) {
before: args{
title: "第1回集会らん☆ぷろ募集アンケート",
description: "第1回集会らん☆ぷろ参加者募集",
resTimeLimit: null.NewTime(time.Time{}, true),
resTimeLimit: null.NewTime(time.Time{}, false),
resSharedTo: "public",
isPublished: true,
isAnonymous: false,
},
after: args{
title: "第1回集会らん☆ぷろ募集アンケート",
description: "第1回集会らん☆ぷろ参加者募集",
resTimeLimit: null.NewTime(time.Time{}, true),
resTimeLimit: null.NewTime(time.Time{}, false),
resSharedTo: "public",
isPublished: true,
isAnonymous: true,
Expand Down

0 comments on commit c78d59e

Please sign in to comment.