mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
Eliminate mystery guest
This commit is contained in:
parent
1bbf7e73d0
commit
af9cc1cd8e
3 changed files with 5 additions and 3 deletions
|
@ -160,7 +160,9 @@ class RegistrantApiV1ContactUpdateTest < ActionDispatch::IntegrationTest
|
|||
end
|
||||
|
||||
def test_legal_persons_disclosed_attributes_cannot_be_changed
|
||||
business_registry_caches(:one).update!(associated_businesses: %w[1234])
|
||||
@contact.update!(ident_type: Contact::ORG,
|
||||
ident: '1234',
|
||||
disclosed_attributes: %w[])
|
||||
|
||||
assert_no_changes -> { @contact.disclosed_attributes } do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue