1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00
kataras
2017-06-15 20:02:08 +03:00
parent a10e80842f
commit e0128d204d
58 changed files with 11054 additions and 505 deletions

View File

@@ -25,7 +25,7 @@ func TestFromStd(t *testing.T) {
app.Get("/handler", h)
app.Get("/func", hFunc)
e := httptest.New(app, t)
e := httptest.New(t, app)
e.GET("/handler").
Expect().Status(iris.StatusOK).Body().Equal(expected)
@@ -56,7 +56,7 @@ func TestFromStdWithNext(t *testing.T) {
app := iris.New()
app.Get("/handlerwithnext", h, next)
e := httptest.New(app, t)
e := httptest.New(t, app)
e.GET("/handlerwithnext").
Expect().Status(iris.StatusForbidden)