mirror of
https://github.com/internetee/registry.git
synced 2025-07-29 14:06:21 +02:00
Updated REPP API for new registrar portal
This commit is contained in:
parent
e17b21436d
commit
a5ffce290d
61 changed files with 1269 additions and 408 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue