1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-22 20:37: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

@@ -46,7 +46,7 @@ func h(ctx context.Context) {
}
func TestBasicAuth(t *testing.T) {
app := buildApp()
e := httptest.New(app, t)
e := httptest.New(t, app)
// redirects to /admin without basic auth
e.GET("/").Expect().Status(iris.StatusUnauthorized)