mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Update MSRC feed URL in test (#22494)
Whoops, _this_ was the failing test from earlier. Related to #22492 #22493. - [x] Added/updated tests
This commit is contained in:
parent
e8a6456f13
commit
de537692a1
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ func TestMSRCClient(t *testing.T) {
|
|||
dir := t.TempDir()
|
||||
|
||||
server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
if r.URL.Path == "/cvrf/v2.0/document/2021-Oct" {
|
||||
if r.URL.Path == "/cvrf/v3.0/document/2021-Oct" {
|
||||
w.WriteHeader(http.StatusOK)
|
||||
w.Write([]byte("some payload")) //nolint:errcheck
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue