Added one more header value for server use case test

This commit is contained in:
Maxim Lebedev 2023-12-09 12:28:27 +06:00
parent 50f6c7fabe
commit 1b987f1f0d
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
2 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@ func TestSite(tb testing.TB) *Site {
"values": map[string]any{
"Link": `<https://auth.example.com/>; rel="indieauth-metadata", ` +
`<https://pub.example.com/>; rel="micropub"`,
"X-Koroko": "Ya-ha-ha!",
},
}, map[string]any{
"path": "/foo/bar",

View File

@ -26,6 +26,7 @@ func TestDo(t *testing.T) {
Headers: map[string]string{
"Link": `<https://auth.example.com/>; rel="indieauth-metadata", ` +
`<https://pub.example.com/>; rel="micropub"`,
"X-Koroko": "Ya-ha-ha!",
},
}, {
Path: "/foo/bar",