✅ Fixed failing server use case tests
/ docker (push) Successful in 1m6s
Details
/ docker (push) Successful in 1m6s
Details
This commit is contained in:
parent
f50889d95f
commit
eb331889bb
|
@ -23,14 +23,14 @@ func TestDo(t *testing.T) {
|
||||||
expect := &domain.Server{
|
expect := &domain.Server{
|
||||||
Headers: []domain.Header{{
|
Headers: []domain.Header{{
|
||||||
Path: "/**",
|
Path: "/**",
|
||||||
Headers: map[string]string{
|
Values: map[string]string{
|
||||||
"Link": `<https://auth.example.com/>; rel="indieauth-metadata", ` +
|
"Link": `<https://auth.example.com/>; rel="indieauth-metadata", ` +
|
||||||
`<https://pub.example.com/>; rel="micropub"`,
|
`<https://pub.example.com/>; rel="micropub"`,
|
||||||
"X-Koroko": "Ya-ha-ha!",
|
"X-Koroko": "Ya-ha-ha!",
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
Path: "/foo/bar",
|
Path: "/foo/bar",
|
||||||
Headers: map[string]string{
|
Values: map[string]string{
|
||||||
"X-Testing": `sample-text`,
|
"X-Testing": `sample-text`,
|
||||||
},
|
},
|
||||||
}},
|
}},
|
||||||
|
|
Loading…
Reference in New Issue