MCPcopy Create free account
hub / github.com/PostHog/duckgres / TestMockOrgRouterSatisfiesInterface

Function TestMockOrgRouterSatisfiesInterface

controlplane/migration_lock_test.go:202–209  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

200}
201
202func TestMockOrgRouterSatisfiesInterface(t *testing.T) {
203 mock := &mockOrgRouter{ok: true}
204 var _ OrgRouterInterface = mock
205
206 if mock.IsMigratingForOrg("anyorg") {
207 t.Fatal("expected default mock to return not migrating")
208 }
209}

Callers

nothing calls this directly

Calls 1

IsMigratingForOrgMethod · 0.95

Tested by

no test coverage detected