We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 900ebad commit d2805c6Copy full SHA for d2805c6
models/confirmation_test.go
@@ -68,7 +68,7 @@ func Test_NewConfirmation(t *testing.T) {
68
t.Fail()
69
}
70
71
- if confirmation.ExpiresAt.IsZero() {
+ if confirmation.ExpiresAt == nil || confirmation.ExpiresAt.IsZero() {
72
t.Errorf("expected expiresAt to be non-Zero")
73
74
0 commit comments