Method
publishWorkspaceUpdate
(_ context.Context, _ uuid.UUID, event wspubsub.WorkspaceEvent)
Source from the content-addressed store, hash-verified
| 474 | } |
| 475 | |
| 476 | func (f *fakeUpdater) publishWorkspaceUpdate(_ context.Context, _ uuid.UUID, event wspubsub.WorkspaceEvent) { |
| 477 | f.Lock() |
| 478 | defer f.Unlock() |
| 479 | f.updates = append(f.updates, event.WorkspaceID) |
| 480 | } |
| 481 | |
| 482 | func (f *fakeUpdater) requireEventuallySomeUpdates(t *testing.T, workspaceID uuid.UUID) { |
| 483 | require.Eventually(t, func() bool { |
Callers
nothing calls this directly
Tested by
no test coverage detected