Skip to content

Commit

Permalink
fix: passcode tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoern-m committed Jul 26, 2024
1 parent 619ebca commit c09f6f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/handler/passcode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,11 @@ func (s *passcodeSuite) TestPasscodeHandler_Finish() {
UpdatedAt: now,
}

emailIdNotAssigned := uuid.FromStringOrNil("7c4473b8-ddcc-480b-b01f-df89e99f74c9")
passcodeForNonAssignedEmail := models.Passcode{
ID: uuid.FromStringOrNil("494129d5-76de-4fae-b07d-f2a521e1804d"),
UserId: uuid.FromStringOrNil("b5dd5267-b462-48be-b70d-bcd6f1bbe7a5"),
EmailID: uuid.FromStringOrNil("7c4473b8-ddcc-480b-b01f-df89e99f74c9"),
UserId: &userId,
EmailID: &emailIdNotAssigned,
Ttl: 300,
Code: string(hashedPasscode),
TryCount: 0,
Expand Down

0 comments on commit c09f6f6

Please sign in to comment.