fix: close record repair and verification gaps
This commit is contained in:
1 parent
9251c85fd8
commit
adff599e08
27 files changed
+787
-153
No files matched your search
@@ -1377,7 +1377,7 @@ func TestZoneAPIWriteRefusals(t *testing.T) {
|
||||
{operation: "record_update", id: "3", status: 412, etag: `"old"`, body: zoneAPITestRecord},
|
||||
{operation: "record_update", id: "99", status: 412, etag: `"old"`, body: zoneAPITestRecord},
|
||||
{operation: "record_update", id: "wrong", status: 400, etag: `"old"`, body: zoneAPITestRecord},
|
||||
{operation: "record_update", id: "2147483648", status: 400, etag: `"old"`, body: zoneAPITestRecord},
|
||||
{operation: "record_update", id: "4294967296", status: 400, etag: `"old"`, body: zoneAPITestRecord},
|
||||
{operation: "record_update", id: "90", status: 404, etag: `"old"`, body: zoneAPITestRecord},
|
||||
{operation: "record_delete", id: "3", status: 428},
|
||||
{operation: "record_delete", id: "3", status: 412, etag: "*"},
|
||||
@@ -1387,6 +1387,7 @@ func TestZoneAPIWriteRefusals(t *testing.T) {
|
||||
{operation: "record_bulk_delete", status: 412, body: `{"records":[{"id":3,"etag":` + zoneAPITestJSON(t, recordETag(rows[2])) + `},{"id":4,"etag":"old"}]}`},
|
||||
{operation: "record_bulk_delete", status: 422, field: "records", body: `{"records":[]}`},
|
||||
{operation: "record_bulk_delete", status: 422, field: "records", body: `{"records":[{"id":"3","etag":"old"}]}`},
|
||||
{operation: "record_bulk_delete", status: 422, field: "records", body: `{"records":[{"id":4294967296,"etag":"old"}]}`},
|
||||
{operation: "record_bulk_delete", status: 404, body: `{"records":[{"id":90,"etag":"old"}]}`},
|
||||
{operation: "soa_update", status: 428, body: zoneAPITestSOA},
|
||||
{operation: "soa_update", status: 412, etag: `"old"`, body: zoneAPITestSOA},
|
||||
|
||||
Reference in new issue
Block a user