Fix failing test case

When building a URL don't include path components in the host parameter.

Closes #1124

Signed-off-by: Rusty Conover <rusty@luckydinosaur.com>
This commit is contained in:
Rusty Conover 2015-10-25 13:01:45 -04:00
parent 1c5f8166e4
commit 5f2205981b

View File

@ -238,7 +238,8 @@ func TestBuilderFromRequestWithPrefix(t *testing.T) {
base: "https://subdomain.example.com/prefix/",
configHost: url.URL{
Scheme: "https",
Host: "subdomain.example.com/prefix",
Host: "subdomain.example.com",
Path: "/prefix/",
},
},
}