Updated REPP API for new registrar portal

This commit is contained in:
Sergei Tsõganov 2022-06-06 13:43:30 +03:00
parent e17b21436d
commit a5ffce290d
61 changed files with 1269 additions and 408 deletions

View file

@ -15,9 +15,11 @@ class ReppV1DomainsDeleteTest < ActionDispatch::IntegrationTest
@auth_headers['Content-Type'] = 'application/json'
payload = {
delete: {
verified: false
}
domain: {
delete: {
verified: false,
},
},
}
delete "/repp/v1/domains/#{@domain.name}", headers: @auth_headers, params: payload.to_json
@ -36,9 +38,11 @@ class ReppV1DomainsDeleteTest < ActionDispatch::IntegrationTest
@auth_headers['Content-Type'] = 'application/json'
payload = {
delete: {
verified: true
}
domain: {
delete: {
verified: true,
},
},
}
delete "/repp/v1/domains/#{@domain.name}", headers: @auth_headers, params: payload.to_json