mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
Fix registrant API test
This commit is contained in:
parent
3b53e12284
commit
1bc0ec07d3
1 changed files with 1 additions and 1 deletions
|
@ -91,8 +91,8 @@ class RegistrantApiV1ContactUpdateTest < ActionDispatch::IntegrationTest
|
|||
end
|
||||
|
||||
def test_address_is_optional_when_enabled
|
||||
@contact.update!(street: 'any', zip: 'any', city: 'any', state: 'any', country_code: 'US')
|
||||
Setting.address_processing = true
|
||||
@contact.update!(street: 'any', zip: 'any', city: 'any', state: 'any', country_code: 'US')
|
||||
|
||||
patch api_v1_registrant_contact_path(@contact.uuid), params: { name: 'any' },
|
||||
as: :json,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue