Commit Graph

3 Commits

Author SHA1 Message Date
Kristoffer Dalby 2a1ae1a2fc servertest: assert an invalid pre-auth-key tag is a 400 2026-06-19 05:58:10 +00:00
Kristoffer Dalby a22fec9ce1 servertest: drop duplicate not-found tests and use the shared client helper
The per-resource tests already assert the DeleteNode/DeleteUser/RenameUser/
ExpireApiKey/DeleteApiKey 404s; keep only the cases unique to the error
file. TestAPIv1_Health now uses apiClient like the rest.
2026-06-19 05:58:10 +00:00
Kristoffer Dalby 92048385c2 servertest: cover API error translation for missing and invalid input
Asserts not-found nodes/users/keys return 404 and invalid CIDR/policy
return 400. These caught the node-500 and pre-auth-key silent-success
bugs fixed alongside.
2026-06-19 05:58:10 +00:00