What to build
SummaryEndpointsTests.cs exists but is completely empty. Add unit tests for all 4 endpoint methods in SummaryEndpoints.cs:
GetSummaries — GET /api/summary/
SaveSummary — POST /api/summary/summary
GetReadingNotes — GET /api/summary/{number}
SaveReadingNotesMarkdown — POST /api/summary/{number}/markdown
Follow the existing pattern in NoteEndpointsTests.cs (xUnit + FluentAssertions + mocked IDataStorageService / ISummaryService).
Acceptance criteria
Blocked by
None — can start immediately.
Priority
🔴 Critical — this is the most important test gap in the API layer
What to build
SummaryEndpointsTests.csexists but is completely empty. Add unit tests for all 4 endpoint methods inSummaryEndpoints.cs:GetSummaries—GET /api/summary/SaveSummary—POST /api/summary/summaryGetReadingNotes—GET /api/summary/{number}SaveReadingNotesMarkdown—POST /api/summary/{number}/markdownFollow the existing pattern in
NoteEndpointsTests.cs(xUnit + FluentAssertions + mockedIDataStorageService/ISummaryService).Acceptance criteria
GetSummariesandGetReadingNotesSaveSummary(e.g. missing required fields)Blocked by
None — can start immediately.
Priority
🔴 Critical — this is the most important test gap in the API layer