Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa92135

Browse files
committed
fix auth test
1 parent b146424 commit aa92135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/coderd_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func TestAuthorizeAllEndpoints(t *testing.T) {
130130
"PUT:/api/v2/workspaces/{workspace}/autostop": {NoAuthorize: true},
131131
"GET:/api/v2/workspaces/{workspace}/builds": {NoAuthorize: true},
132132
"POST:/api/v2/workspaces/{workspace}/builds": {NoAuthorize: true},
133-
"POST:/api/v2/workspaces/{workspace}/watch": {NoAuthorize: true},
133+
"CONNECT:/api/v2/workspaces/{workspace}/watch": {NoAuthorize: true},
134134

135135
"POST:/api/v2/files": {NoAuthorize: true},
136136
"GET:/api/v2/files/{hash}": {NoAuthorize: true},

0 commit comments

Comments
 (0)