(t *testing.T)
| 9 | ) |
| 10 | |
| 11 | func TestBeginStep_SkipsNilRunID(t *testing.T) { |
| 12 | t.Parallel() |
| 13 | |
| 14 | ctx := ContextWithRun(context.Background(), &RunContext{ChatID: uuid.New()}) |
| 15 | handle, enriched := beginStep(ctx, &Service{}, RecorderOptions{ChatID: uuid.New()}, OperationGenerate, nil) |
| 16 | require.Nil(t, handle) |
| 17 | require.Equal(t, ctx, enriched) |
| 18 | } |
nothing calls this directly
no test coverage detected