mirror of
https://github.com/kataras/iris.git
synced 2025-12-30 08:17:18 +00:00
Add test for basic auth
This commit is contained in:
@@ -59,7 +59,7 @@ func TestRenderRest(t *testing.T) {
|
||||
ctx.Markdown(iris.StatusOK, markdownContents)
|
||||
})
|
||||
|
||||
e := tester(api, t)
|
||||
e := Tester(api, t)
|
||||
dataT := e.GET("/data").Expect().Status(iris.StatusOK)
|
||||
dataT.Header("Content-Type").Equal("application/octet-stream")
|
||||
dataT.Body().Equal(string(dataContents))
|
||||
|
||||
Reference in New Issue
Block a user