Added pager tests.

This commit is contained in:
mikestefanello 2021-12-18 18:08:04 -05:00
parent 8eb8264d6e
commit a1a54a7b7d
5 changed files with 103 additions and 19 deletions

View file

@ -30,6 +30,6 @@ func TestMain(m *testing.M) {
}
func newContext(url string) echo.Context {
req := httptest.NewRequest(http.MethodPost, url, strings.NewReader(""))
req := httptest.NewRequest(http.MethodGet, url, strings.NewReader(""))
return c.Web.NewContext(req, httptest.NewRecorder())
}