Chain test http requests.
This commit is contained in:
parent
58c72c0705
commit
70d9d0f8fa
2 changed files with 53 additions and 23 deletions
|
|
@ -8,7 +8,9 @@ import (
|
|||
)
|
||||
|
||||
func TestAbout_Get(t *testing.T) {
|
||||
doc := getRequest(t, "about").
|
||||
doc := request(t).
|
||||
setRoute("about").
|
||||
get().
|
||||
assertStatusCode(http.StatusOK).
|
||||
toDoc()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue