aboutsummaryrefslogtreecommitdiff
path: root/tests/test-pearl-sync.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-24 14:56:47 -0500
committerCraig Jennings <c@cjennings.net>2026-05-24 14:56:47 -0500
commit44b7e8e42383a0e2c7024f250c2d16de6b66c652 (patch)
tree5dd8ab04a39b3847b03dc4cf7cb1240628366832 /tests/test-pearl-sync.el
parentba58f66332e6a8692d985f4d5478c743fca9bcb7 (diff)
downloadpearl-44b7e8e42383a0e2c7024f250c2d16de6b66c652.tar.gz
pearl-44b7e8e42383a0e2c7024f250c2d16de6b66c652.zip
test: cover field-setter command failure branches
Added ERT tests that the four field setters preserve local org state when the issueUpdate mutation fails (returns :success nil): set-priority keeps the cookie, set-state keeps the TODO keyword and LINEAR-STATE drawer, set-assignee keeps the assignee drawer, set-labels keeps the labels drawer. Each test also asserts the push was attempted with the intended input, so a regression that simply stopped calling the API would still fail rather than pass silently. The commands already behave correctly — this locks it. 357 tests green.
Diffstat (limited to 'tests/test-pearl-sync.el')
0 files changed, 0 insertions, 0 deletions