fix: close record repair and verification gaps

This commit is contained in:
bryanpedini committed 2026-11-19 15:46:12 +01:00
1 parent 9251c85fd8
commit adff599e08
27 files changed
+787 -153

No files matched your search

+1 -1
View File
@@ -307,7 +307,7 @@ func matrixRecordCases() []matrixCase {
body: `{"name":"www","type":"A","ttl":300,"data":{"ip":"192.0.2.1"}}`, ifMatch: 3, status: 200, zone: mxZone, record: 3, check: mxUnchanged},
{name: "invalid id", op: opRecordUpdate, method: "PUT", path: "/zones/example.org./records/x", persona: "admin", body: mxUpdateBody, ifMatch: 3,
status: 400, msg: "invalid record id", zone: mxZone, check: mxUnchanged},
{name: "id out of range", op: opRecordUpdate, method: "PUT", path: "/zones/example.org./records/2147483648", persona: "admin", body: mxUpdateBody, ifMatch: 3,
{name: "id out of range", op: opRecordUpdate, method: "PUT", path: "/zones/example.org./records/4294967296", persona: "admin", body: mxUpdateBody, ifMatch: 3,
status: 400, msg: "invalid record id", zone: mxZone, check: mxUnchanged},
{name: "malformed", op: opRecordUpdate, method: "PUT", path: "/zones/example.org./records/3", persona: "admin", body: `{"name"`, ifMatch: 3,
status: 400, msg: "malformed JSON", zone: mxZone, record: 3, check: mxUnchanged},