test(office): replace fixture tests with live OnlyOffice API integration
Remove synthetic map-based entity and fetch mapper unit tests; cover all menu subjects and preview pipelines via integration tests against the real Workspace API. Handle draft mail without subjects in list mapping. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -593,10 +593,10 @@ Spreadsheet files: inline CSV/JSON preview in the right pane; install
|
||||
[`vex`](https://github.com/CodeOne45/vex-tui) on `PATH` for full-screen
|
||||
xlsx/csv viewing (`v` on a file row — coming in next iteration).
|
||||
|
||||
Integration tests for list loaders:
|
||||
Integration tests for list loaders and preview (live API only — no mocks):
|
||||
|
||||
```bash
|
||||
go test -tags=integration ./cmd/office/fetch/...
|
||||
go test -tags=integration ./cmd/office/fetch/... ./cmd/office/preview/...
|
||||
```
|
||||
|
||||
**Project / task documents (`oo`):**
|
||||
|
||||
Reference in New Issue
Block a user