Skip to content

Commit 475be73

Browse files
committed
use ctx
1 parent eccc38f commit 475be73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/promoauth/oauth2_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ func TestMaintainDefault(t *testing.T) {
5050
req, err := http.NewRequest(http.MethodGet,
5151
must(idp.IssuerURL().Parse("/.well-known/openid-configuration")).String(), nil)
5252
require.NoError(t, err)
53+
req = req.WithContext(ctx)
5354

5455
resp, err := http.DefaultClient.Do(req)
5556
require.NoError(t, err)

0 commit comments

Comments
 (0)