mirror of
https://github.com/kataras/iris.git
synced 2026-01-10 21:45:57 +00:00
add content type and response text to the Controller 💯
Former-commit-id: 99cde0a445027b10839155501a7918732a783af3
This commit is contained in:
@@ -169,7 +169,7 @@ func testTheRoutes(t *testing.T, tests []testRoute, debug bool) {
|
||||
if method == "" {
|
||||
method = tt.method
|
||||
}
|
||||
ex := e.Request(tt.method, req.path)
|
||||
ex := e.Request(method, req.path)
|
||||
if req.subdomain != "" {
|
||||
ex.WithURL("http://" + req.subdomain + ".localhost:8080")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user