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:
Ian Littman 2024-09-28 09:18:55 -05:00 committed by GitHub
parent e8a6456f13
commit de537692a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}