cli/pkg/cmd/discussion/client
Babak K. Shandiz 81117364ba
refactor(discussion/client): convert tests to httpStubs pattern
Replace responses/checkVarsFns with httpStubs func per test case in
TestList, TestSearch, and TestListCategories, matching the pattern used
in agent-task/capi tests. Expand inline JSON to heredoc, remove flower
box comments, and add "empty list" and "exact fit" test cases.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-24 14:19:19 +01:00
..
client.go fix(discussion/client): change list return type to pointer 2026-04-14 12:24:08 +01:00
client_impl.go test(discussion): assert GQL variables, add Bot actor and limit>100 cases 2026-04-22 16:36:07 -05:00
client_impl_test.go refactor(discussion/client): convert tests to httpStubs pattern 2026-04-24 14:19:19 +01: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