MCPcopy 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 }

Calls 1

Tested by

no test coverage detected