Skip to content

Commit df69d33

Browse files
committed
fix tests
1 parent 18fa312 commit df69d33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coderd/rbac/roles_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ func TestRolePermissions(t *testing.T) {
332332
Actions: rbac.AllActions(),
333333
Resource: rbac.ResourceWorkspaceBuild.WithID(uuid.New()).InOrg(orgID).WithOwner(memberMe.Actor.ID),
334334
AuthorizeMap: map[bool][]authSubject{
335-
true: {owner, orgAdmin, orgMemberMe, memberMe},
335+
true: {owner, orgAdmin, orgMemberMe},
336336
false: {userAdmin, otherOrgAdmin, otherOrgMember, templateAdmin},
337337
},
338338
},

coderd/workspaces.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ func (api *API) putWorkspaceTTL(rw http.ResponseWriter, r *http.Request) {
751751
rw.WriteHeader(http.StatusNoContent)
752752
}
753753

754-
// @Summary Update workspace locked status.
754+
// @Summary Update workspace locked by id.
755755
// @ID update-workspace-lock-by-id
756756
// @Security CoderSessionToken
757757
// @Accept json

0 commit comments

Comments
 (0)