MCPcopy Index your code
hub / github.com/coder/coder / CreateAnotherUserMutators

Function CreateAnotherUserMutators

coderd/coderdtest/coderdtest.go:848–850  ·  view source on GitHub ↗
(t testing.TB, client *codersdk.Client, organizationID uuid.UUID, roles []rbac.RoleIdentifier, mutators ...func(r *codersdk.CreateUserRequestWithOrgs))

Source from the content-addressed store, hash-verified

846}
847
848func CreateAnotherUserMutators(t testing.TB, client *codersdk.Client, organizationID uuid.UUID, roles []rbac.RoleIdentifier, mutators ...func(r *codersdk.CreateUserRequestWithOrgs)) (*codersdk.Client, codersdk.User) {
849 return createAnotherUserRetry(t, client, []uuid.UUID{organizationID}, 5, roles, mutators...)
850}
851
852// AuthzUserSubject does not include the user's groups or the org-member role
853// (which is a db-backed system role).

Callers 15

TestUserLoginFunction · 0.92
TestWorkspacesSortOrderFunction · 0.92
TestTunneler_IntegrationFunction · 0.92
setupTestScheduleFunction · 0.92
TestOpenAppFunction · 0.92
setupWorkspaceForAgentFunction · 0.92
TestSSH_CompletionFunction · 0.92
TestEnterpriseUserLoginFunction · 0.92

Calls 1

createAnotherUserRetryFunction · 0.85

Tested by 13

TestUserLoginFunction · 0.74
TestWorkspacesSortOrderFunction · 0.74
TestTunneler_IntegrationFunction · 0.74
setupTestScheduleFunction · 0.74
TestOpenAppFunction · 0.74
setupWorkspaceForAgentFunction · 0.74
TestSSH_CompletionFunction · 0.74
TestEnterpriseUserLoginFunction · 0.74