Skip to content

Commit b3ac3ee

Browse files
committed
fixup test
1 parent 648c707 commit b3ac3ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

coderd/httpmw/csp_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
"github.com/stretchr/testify/require"
1010

1111
"github.com/coder/coder/v2/coderd/httpmw"
12+
"github.com/coder/coder/v2/codersdk"
1213
)
1314

1415
func TestCSPConnect(t *testing.T) {
@@ -20,7 +21,7 @@ func TestCSPConnect(t *testing.T) {
2021
r := httptest.NewRequest(http.MethodGet, "/", nil)
2122
rw := httptest.NewRecorder()
2223

23-
httpmw.CSPHeaders(false, func() []string {
24+
httpmw.CSPHeaders(codersdk.Experiments{}, false, func() []string {
2425
return expected
2526
}, map[httpmw.CSPFetchDirective][]string{
2627
httpmw.CSPDirectiveMediaSrc: expectedMedia,

0 commit comments

Comments
 (0)