Skip to content

Commit

Permalink
check error returned from run
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorshephard committed Sep 26, 2023
1 parent 2f08acd commit 9e02327
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion signup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -727,13 +727,14 @@ func TestSnapMail(t *testing.T) {
assert.Equal(t, want.Payload.StartDateTime, result.Payload.StartDateTime)
}))

NewSnapMail(mockSnapServer.URL).run(context.Background(), Signup{
err := NewSnapMail(mockSnapServer.URL).run(context.Background(), Signup{
NameFirst: "Abigail",
NameLast: "Test",
Email: "[email protected]",
SessionID: "tMisBjpLQt8H3oD8B",
StartDateTime: mustMakeTime(t, time.RFC3339, "2023-09-23T18:00:00.000Z"),
})
assertNilError(t, err)

})
}

0 comments on commit 9e02327

Please sign in to comment.