1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-09 13:05:56 +00:00

Fasthttp seems have little bug with headers, so make a VisitAllCookies function and GetFlashes completed- tests added also

This commit is contained in:
Makis Maropoulos
2016-07-07 00:25:50 +02:00
parent 2cc75817b7
commit 01914b6c37
9 changed files with 502 additions and 260 deletions

View File

@@ -284,7 +284,6 @@ func (s *Framework) Go() error {
s.Plugins.DoPreListen(s)
if firstErr := s.Servers.OpenAll(); firstErr != nil {
panic("iris:287")
return firstErr
}
@@ -822,6 +821,10 @@ func NewTester(api *Framework, t *testing.T) *httpexpect.Expect {
}
}
if api.Config.Tester.ExplicitURL {
baseURL = ""
}
testConfiguration := httpexpect.Config{
BaseURL: baseURL,
Client: &http.Client{