Skip to content

Fix CandidateServiceFixture: mock IEditionService.GetCandidates - #4

Merged
EdLaughton merged 1 commit into
developfrom
claude/import-match-threshold-setting-GefjL
Mar 16, 2026
Merged

EdLaughton merged 1 commit into
developfrom
claude/import-match-threshold-setting-GefjL

Conversation

@EdLaughton

Copy link
Copy Markdown
Owner

The fallback path in GetDbCandidatesByAuthor also calls _editionService.GetCandidates(), which needs to be mocked to avoid a NullReferenceException on the unmocked return value.

https://claude.ai/code/session_01976eMqb4mwazHh13NZkDY5

The fallback path in GetDbCandidatesByAuthor also calls
_editionService.GetCandidates(), which needs to be mocked to avoid
a NullReferenceException on the unmocked return value.

https://claude.ai/code/session_01976eMqb4mwazHh13NZkDY5
@EdLaughton
EdLaughton merged commit d3eed20 into develop Mar 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants