1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00

fix #2158 and more

This commit is contained in:
Gerasimos (Makis) Maropoulos
2023-07-08 02:08:18 +03:00
parent 757e7fe61b
commit 6add1ba49b
79 changed files with 551 additions and 467 deletions

View File

@@ -108,7 +108,7 @@ func TestSwitchHosts(t *testing.T) {
body = "Switcher: Bad Gateway"
}
e.GET(requestPath).WithURL(URL).Expect().Status(statusCode).Body().Equal(body)
e.GET(requestPath).WithURL(URL).Expect().Status(statusCode).Body().IsEqual(body)
}
}
}
@@ -204,7 +204,7 @@ func TestSwitchHostsRedirect(t *testing.T) {
}
}
e.GET(requestPath).WithURL(requestURL).Expect().Status(statusCode).Body().Equal(body)
e.GET(requestPath).WithURL(requestURL).Expect().Status(statusCode).Body().IsEqual(body)
}
}
}