1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-22 04:17:03 +00:00
Gerasimos (Makis) Maropoulos
2020-08-14 13:04:48 +03:00
parent 558d6d41bb
commit dc35391ceb
3 changed files with 5 additions and 5 deletions

View File

@@ -25,5 +25,6 @@ func TestSubdomainRedirectWWW(t *testing.T) {
for _, test := range tests {
e.GET(test.path).Expect().Status(httptest.StatusOK).Body().Equal(test.response)
e.GET(test.path).WithURL("www.mydomain.com").Expect().Status(httptest.StatusOK).Body().Equal(test.response)
}
}