Added pager tests.
This commit is contained in:
parent
8eb8264d6e
commit
a1a54a7b7d
5 changed files with 103 additions and 19 deletions
|
|
@ -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())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue