GetQuota touches: - workspace_builds - workspaces
(ctx context.Context, t *testing.T)
| 1235 | // - workspace_builds |
| 1236 | // - workspaces |
| 1237 | func (c *committer) GetQuota(ctx context.Context, t *testing.T) int64 { |
| 1238 | t.Helper() |
| 1239 | |
| 1240 | consumed, err := c.DBTx.GetQuotaConsumedForUser(ctx, database.GetQuotaConsumedForUserParams{ |
| 1241 | OwnerID: c.w.OwnerID, |
| 1242 | OrganizationID: c.w.OrganizationID, |
| 1243 | }) |
| 1244 | require.NoError(t, err) |
| 1245 | return consumed |
| 1246 | } |
| 1247 | |
| 1248 | // GetAllowance touches: |
| 1249 | // - group_members_expanded |
no test coverage detected