Skip to content

Commit d2ec7d7

Browse files
committed
Remove test that is no longer valid
Default user is no longer an org admin, so the demotion test makes no sense
1 parent 44f860a commit d2ec7d7

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

coderd/users_test.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -817,15 +817,6 @@ func TestGrantSiteRoles(t *testing.T) {
817817
Error: true,
818818
StatusCode: http.StatusForbidden,
819819
},
820-
{
821-
Name: "MemberAssignMember",
822-
Client: member,
823-
OrgID: first.OrganizationID,
824-
AssignToUser: first.UserID.String(),
825-
Roles: []string{},
826-
Error: true,
827-
StatusCode: http.StatusForbidden,
828-
},
829820
{
830821
Name: "AdminUpdateOrgSelf",
831822
Client: admin,

0 commit comments

Comments
 (0)