(t *testing.T)
| 33 | } |
| 34 | |
| 35 | func newFakeClient(t *testing.T) *fakeClient { |
| 36 | return &fakeClient{ |
| 37 | t: t, |
| 38 | workspaceUpdatesCh: make(chan codersdk.Workspace), |
| 39 | workspaceByOwnerAndNameStatus: make(chan codersdk.ProvisionerJobStatus), |
| 40 | workspaceByOwnerAndNameErrors: make(chan error, 1), |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | func (m *fakeClient) initialize(logger slog.Logger) { |
| 45 | m.logger = logger |
no outgoing calls
no test coverage detected