mirror of
https://github.com/kataras/iris.git
synced 2025-12-22 04:17:03 +00:00
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user