🎨 Fixed server params names in TestSite output
This commit is contained in:
parent
f73500580a
commit
50f6c7fabe
|
@ -49,15 +49,15 @@ func TestSite(tb testing.TB) *Site {
|
|||
Resources: make([]*Resource, 0),
|
||||
Params: map[string]any{
|
||||
"server": map[string]any{
|
||||
"header": []any{map[string]any{
|
||||
"headers": []any{map[string]any{
|
||||
"path": "/**",
|
||||
"headers": map[string]any{
|
||||
"values": map[string]any{
|
||||
"Link": `<https://auth.example.com/>; rel="indieauth-metadata", ` +
|
||||
`<https://pub.example.com/>; rel="micropub"`,
|
||||
},
|
||||
}, map[string]any{
|
||||
"path": "/foo/bar",
|
||||
"headers": map[string]any{
|
||||
"values": map[string]any{
|
||||
"X-Testing": `sample-text`,
|
||||
},
|
||||
}},
|
||||
|
|
Loading…
Reference in New Issue