REPP: Ditch _id from registrant / registrar attributes

This commit is contained in:
Karl Erik Õunapuu 2021-03-22 15:28:23 +02:00
parent 83bfc493bb
commit d6b266459b
No known key found for this signature in database
GPG key ID: C9DD647298A34764
5 changed files with 15 additions and 15 deletions

View file

@ -17,7 +17,7 @@ class ReppV1DomainsCreateTest < ActionDispatch::IntegrationTest
payload = {
domain: {
name: 'domeener.test',
registrant_id: contact.code,
registrant: contact.code,
period: 1,
period_unit: 'y'
}
@ -39,7 +39,7 @@ class ReppV1DomainsCreateTest < ActionDispatch::IntegrationTest
payload = {
domain: {
name: 'domeener.test',
registrant_id: contact.code,
registrant: contact.code,
period: 3,
period_unit: 'y'
}
@ -61,7 +61,7 @@ class ReppV1DomainsCreateTest < ActionDispatch::IntegrationTest
payload = {
domain: {
name: 'domeener.test',
registrant_id: contact.code,
registrant: contact.code,
period: 1,
period_unit: 'y',
nameservers_attributes: [
@ -91,7 +91,7 @@ class ReppV1DomainsCreateTest < ActionDispatch::IntegrationTest
payload = {
domain: {
name: 'domeener.test',
registrant_id: contact.code,
registrant: contact.code,
period: 1,
period_unit: 'y',
admin_contacts: [ admin_contact.code ],