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:
@@ -62,7 +62,7 @@ type Request struct {
|
||||
// Response — one frame back from the worker. Exactly one of Result/Error is set.
|
||||
type Response struct {
|
||||
Result json.RawMessage `json:"r,omitempty"`
|
||||
Error *RpcError `json:"e,omitempty"`
|
||||
Error *RpcError `json:"e,omitempty"`
|
||||
}
|
||||
|
||||
// RpcError — a typed wire error. Mirrors internal/ipc's shape for tooling
|
||||
@@ -120,4 +120,4 @@ func rpcErr(err error) *RpcError {
|
||||
return &RpcError{Code: c, Message: err.Error()}
|
||||
}
|
||||
return &RpcError{Code: c}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user