This commit is contained in:
Kévin Dunglas 2023-12-16 17:35:39 +01:00
parent 0048f84741
commit c2524a5022
No known key found for this signature in database
GPG Key ID: 4D04EBEF06AAF3A6

View File

@ -229,7 +229,7 @@ func TestReload(t *testing.T) {
resp1, err := tester.Client.Get(configURL)
require.NoError(t, err)
r, err := http.NewRequest("POST", configURL, resp1.Body)
r, err := http.NewRequest("PATCH", configURL, resp1.Body)
require.NoError(t, err)
r.Header.Add("Content-Type", "application/json")
r.Header.Add("Cache-Control", "must-revalidate")