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

Function verifyQuota

enterprise/coderd/workspacequota_test.go:34–36  ·  view source on GitHub ↗
(ctx context.Context, t *testing.T, client *codersdk.Client, organizationID string, consumed, total int)

Source from the content-addressed store, hash-verified

32)
33
34func verifyQuota(ctx context.Context, t *testing.T, client *codersdk.Client, organizationID string, consumed, total int) {
35 verifyQuotaUser(ctx, t, client, organizationID, codersdk.Me, consumed, total)
36}
37
38func verifyQuotaUser(ctx context.Context, t *testing.T, client *codersdk.Client, organizationID string, user string, consumed, total int) {
39 t.Helper()

Callers 1

TestWorkspaceQuotaFunction · 0.85

Calls 1

verifyQuotaUserFunction · 0.85

Tested by

no test coverage detected