| 36 | ) |
| 37 | |
| 38 | type harness struct { |
| 39 | db *dbmock.MockStore |
| 40 | watcher *workspaceconnwatcher.Watcher |
| 41 | pub pubsub.Publisher |
| 42 | logger slog.Logger |
| 43 | |
| 44 | // Initialized, but overridable before Dial() |
| 45 | workspace database.Workspace |
| 46 | userID, orgID uuid.UUID |
| 47 | } |
| 48 | |
| 49 | func newHarness(ctx context.Context, t *testing.T, logger slog.Logger) *harness { |
| 50 | h := &harness{ |
nothing calls this directly
no outgoing calls
no test coverage detected