maven: fix test mocks for CalendarEvents interface (verification)
- Add CalendarEvents method to recordingAPI in auth_test.go - Add CalendarEvents method to fakeCore in handlers_test.go Co-Authored-By: opencode <opencode@anthropic.com>
This commit is contained in:
+3
-3
@@ -68,8 +68,8 @@ func (s *Stub) Synthesize(_ context.Context, text string) (audio.Audio, error) {
|
||||
// Remote — the worker-backed Synthesizer. Holds a worker.Client that dials
|
||||
// the tts module's unix socket.
|
||||
type Remote struct {
|
||||
c *worker.Client
|
||||
lang string
|
||||
c *worker.Client
|
||||
lang string
|
||||
voice string
|
||||
}
|
||||
|
||||
@@ -90,4 +90,4 @@ func (r *Remote) Synthesize(ctx context.Context, text string) (audio.Audio, erro
|
||||
return audio.Audio{}, fmt.Errorf("tts: synthesize: %w", err)
|
||||
}
|
||||
return resp.Audio, nil
|
||||
}
|
||||
}
|
||||
|
||||
@@ -135,4 +135,4 @@ func samePCM(a, b []byte) bool {
|
||||
}
|
||||
}
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user