cli/pkg/cmd/discussion/client
Max Beizer aa080ad28a
refactor(discussion): convert client tests to table-driven
Addresses babakks' review on PR #13252:
- Convert 18 individual test functions to 3 table-driven functions
- Replace ptr helper with new(value) syntax throughout
- Assert all Discussion struct fields in success cases
- Add after-cursor test cases for pagination
- Fold pagination tests into table structure

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-22 15:04:59 -05:00
..
client.go fix(discussion/client): change list return type to pointer 2026-04-14 12:24:08 +01:00
client_impl.go fix(discussion/client): remove reaction groups from list/search types 2026-04-14 14:50:40 +01:00
client_impl_test.go refactor(discussion): convert client tests to table-driven 2026-04-22 15:04:59 -05:00
client_mock.go fix(discussion/client): change list return type to pointer 2026-04-14 12:24:08 +01:00
types.go fix(discussion/client): remove reaction groups from list/search types 2026-04-14 14:50:40 +01:00