Skip to content

Commit d2805c6

Browse files
Update models/confirmation_test.go
Co-authored-by: Darin Krauss <darinkrauss@gmail.com>
1 parent 900ebad commit d2805c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/confirmation_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func Test_NewConfirmation(t *testing.T) {
6868
t.Fail()
6969
}
7070

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

0 commit comments

Comments
 (0)