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:
@@ -12,13 +12,13 @@ import (
|
||||
|
||||
// Reminder — user-stated future intent. fires once or recurring (if cron set).
|
||||
type Reminder struct {
|
||||
ID int64
|
||||
CreatedTs time.Time
|
||||
FireTs time.Time
|
||||
NextFireTs time.Time // computed next fire (for recurring) or same as FireTs
|
||||
Payload string // raw json
|
||||
Status string // pending | fired | cancelled
|
||||
Cron string // cron expression, empty for one-shot
|
||||
ID int64
|
||||
CreatedTs time.Time
|
||||
FireTs time.Time
|
||||
NextFireTs time.Time // computed next fire (for recurring) or same as FireTs
|
||||
Payload string // raw json
|
||||
Status string // pending | fired | cancelled
|
||||
Cron string // cron expression, empty for one-shot
|
||||
|
||||
// Collapsed — set only on a synthetic digest reminder (ID=0): the original
|
||||
// due reminders it stands in for. Not persisted. The dispatcher completes
|
||||
@@ -144,4 +144,4 @@ func (s *Store) RescheduleReminder(ctx context.Context, id int64, now time.Time)
|
||||
}
|
||||
_, err = s.db.ExecContext(ctx, "UPDATE reminders SET next_fire_ts = ? WHERE id = ?", next.UnixMilli(), id)
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user