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:
@@ -196,4 +196,4 @@ func (s *Sink) Send(ctx context.Context, d delivery.Sendable) error {
|
||||
// token never leaves the sink, no logging.
|
||||
func (s *Sink) sendMessageURL() string {
|
||||
return s.base + "/bot" + s.cfg.BotToken + "/sendMessage"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -399,4 +399,4 @@ func TestReminderSendUsesSamePath(t *testing.T) {
|
||||
if req.Text != "wake up" {
|
||||
t.Fatalf("reminder text: want 'wake up', got %q", req.Text)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user