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:
parent
8cc790cccf
commit
9293e3db11
1 changed files with 2 additions and 1 deletions
|
@ -238,7 +238,8 @@ func TestBuilderFromRequestWithPrefix(t *testing.T) {
|
||||||
base: "https://subdomain.example.com/prefix/",
|
base: "https://subdomain.example.com/prefix/",
|
||||||
configHost: url.URL{
|
configHost: url.URL{
|
||||||
Scheme: "https",
|
Scheme: "https",
|
||||||
Host: "subdomain.example.com/prefix",
|
Host: "subdomain.example.com",
|
||||||
|
Path: "/prefix/",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue