MED-3 — registerDomain must declare a 409 response (duplicate domain conflict).
(t *testing.T)
| 136 | |
| 137 | // MED-3 — registerDomain must declare a 409 response (duplicate domain conflict). |
| 138 | func TestSpecRegisterDomain409Declared(t *testing.T) { |
| 139 | doc := renderSpec(t) |
| 140 | resp := operationResponses(t, doc, "registerDomain") |
| 141 | if _, ok := resp["409"]; !ok { |
| 142 | t.Errorf("registerDomain is missing a 409 response (another owner -> conflict); declared codes: %v", keysOf(resp)) |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | // MED-5 — response enum policy for GA (see docs/api.md "Versioning & stability"): |
| 147 | // - A field whose value set is genuinely closed forever (direction: a message is |
nothing calls this directly
no test coverage detected