Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PostHog/duckgres
/ newTestRouter
Function
newTestRouter
controlplane/provisioning/api_test.go:177–179 ·
view source on GitHub ↗
(store Store)
Source
from the content-addressed store, hash-verified
175
s.teams[orgID][up.TeamID] = row
176
clone := *row
177
return
&clone, nil
178
}
179
existing.SchemaName = up.SchemaName
180
if
up.Enabled != nil {
181
existing.Enabled = *up.Enabled
182
}
Callers
15
TestProvisionEmitsAnalyticsEvent
Function · 0.85
TestProvisionFailureEmitsNoEvent
Function · 0.85
TestDeprovisionEmitsAnalyticsEvent
Function · 0.85
TestDeprovisionNotFoundEmitsNoEvent
Function · 0.85
TestResetPasswordEmitsAnalyticsEvent
Function · 0.85
TestProvisionRejectsAurora
Function · 0.85
TestProvisionAutoCreatesOrg
Function · 0.85
TestProvisionPersistsDefaultTeamID
Function · 0.85
TestProvisionNewOrgRequiresDefaultTeamID
Function · 0.85
TestReprovisionExistingOrgKeepsDefaultTeamID
Function · 0.85
TestProvisionRejectsEmptyBody
Function · 0.85
TestProvisionRejectsExistingNonTerminal
Function · 0.85
Calls
1
newTestRouterWithBucketSuffix
Function · 0.85
Tested by
no test coverage detected