Skip to content

Commit

Permalink
Add non-null email for test
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmckendry committed Nov 10, 2023
1 parent f17177c commit 3bee7ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions handlers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ func TestPostReq(t *testing.T) {
formData := url.Values{
"name": {"Rex"},
"ownerName": {"Jane Doe"},
"email": {"[email protected]"},
}

req := httptest.NewRequest("POST", "/dogs", strings.NewReader(formData.Encode()))
Expand Down

0 comments on commit 3bee7ae

Please sign in to comment.