diff --git a/spec/epp/contact_spec.rb b/spec/epp/contact_spec.rb index 83de99719..7c3714fba 100644 --- a/spec/epp/contact_spec.rb +++ b/spec/epp/contact_spec.rb @@ -459,7 +459,7 @@ describe 'EPP Contact', epp: true do attrs: { type: 'birthday', cc: 'US' } }, legalDocument: { - value: 'dGVzdCBmYWlsCg==', + value: Base64.encode64('S' * 4.kilobytes), attrs: { type: 'pdf' } } } diff --git a/spec/epp/keyrelay_spec.rb b/spec/epp/keyrelay_spec.rb index d42d96f4b..293c295bc 100644 --- a/spec/epp/keyrelay_spec.rb +++ b/spec/epp/keyrelay_spec.rb @@ -167,7 +167,7 @@ describe 'EPP Keyrelay', epp: true do }, { _anonymus: [ legalDocument: { - value: 'dGVzdCBmYWlsCg==', + value: Base64.encode64('S' * 4.kilobytes), attrs: { type: 'pdf' } } ] diff --git a/spec/support/epp.rb b/spec/support/epp.rb index 6d57e7d9e..7088f1542 100644 --- a/spec/support/epp.rb +++ b/spec/support/epp.rb @@ -190,7 +190,7 @@ module Epp custom_defaults = { _anonymus: [ legalDocument: { - value: 'dGVzdCBmYWlsCg==', + value: Base64.encode64('S' * 4.kilobytes), attrs: { type: 'pdf' } } ] @@ -276,7 +276,7 @@ module Epp custom_params = { _anonymus: [ legalDocument: { - value: 'dGVzdCBmYWlsCg==', + value: Base64.encode64('S' * 4.kilobytes), attrs: { type: 'pdf' } } ]