-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
170d4c0
commit 2e95b54
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ var testDog Dog = Dog{ | |
OwnerName: "John Doe", | ||
Address: "123 Fake Street", | ||
City: "Fakeville", | ||
Email: "[email protected]", | ||
Email: "[email protected]", | ||
Service: "walk", | ||
Quantity: 1, | ||
Price: 25, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,7 +104,7 @@ func TestPostReq(t *testing.T) { | |
formData := url.Values{ | ||
"name": {"Rex"}, | ||
"ownerName": {"Jane Doe"}, | ||
"email": {"[email protected]"}, | ||
"email": {"[email protected]"}, | ||
} | ||
|
||
req := httptest.NewRequest("POST", "/dogs", strings.NewReader(formData.Encode())) | ||
|