aboutsummaryrefslogtreecommitdiffstats
path: root/internal/notify/service.go
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-15 18:03:32 +0200
committerDanilo M. <danix@danix.xyz>2026-09-15 18:03:32 +0200
commitddf793905cd8739d27003296a5042a7dd905f1d3 (patch)
treed53d0cc041cf510dc77c21982adf512ed2eca8aa /internal/notify/service.go
parent03784b2024436827de25515b1d85d9ffdde40745 (diff)
downloadnotifyd-ddf793905cd8739d27003296a5042a7dd905f1d3.tar.gz
notifyd-ddf793905cd8739d27003296a5042a7dd905f1d3.zip
test(notify): send -1, not 0, in the expiry assertion
The spec makes 0 mean never expire, so the test asserting a non-zero Expires was asserting against the wrong input. -1 asks the server to decide, which is a normal 10s at normal urgency, so the assertion holds. Pre-existing on base a248608 and unrelated to the image support.
Diffstat (limited to 'internal/notify/service.go')
0 files changed, 0 insertions, 0 deletions