Fixed failing server use case tests
/ docker (push) Successful in 1m6s Details

This commit is contained in:
Maxim Lebedev 2023-12-24 07:54:24 +06:00
parent f50889d95f
commit eb331889bb
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 2 additions and 2 deletions

View File

@ -23,14 +23,14 @@ func TestDo(t *testing.T) {
expect := &domain.Server{
Headers: []domain.Header{{
Path: "/**",
Headers: map[string]string{
Values: 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",
Headers: map[string]string{
Values: map[string]string{
"X-Testing": `sample-text`,
},
}},