Chain test http requests.

This commit is contained in:
mikestefanello 2021-12-06 10:38:55 -05:00
parent 58c72c0705
commit 70d9d0f8fa
2 changed files with 53 additions and 23 deletions

View file

@ -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()