Skip to content

Commit

Permalink
Update models/confirmation_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Darin Krauss <[email protected]>
  • Loading branch information
ewollesen and darinkrauss authored Mar 27, 2024
1 parent 900ebad commit d2805c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/confirmation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func Test_NewConfirmation(t *testing.T) {
t.Fail()
}

if confirmation.ExpiresAt.IsZero() {
if confirmation.ExpiresAt == nil || confirmation.ExpiresAt.IsZero() {
t.Errorf("expected expiresAt to be non-Zero")
}

Expand Down

0 comments on commit d2805c6

Please sign in to comment.