mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
Revert "Fix possible doubling of contact objects after race"
This commit is contained in:
parent
98a209505d
commit
3be2c384a2
5 changed files with 41 additions and 2238 deletions
|
@ -177,7 +177,7 @@ class ContactTest < ActiveSupport::TestCase
|
|||
|
||||
def test_linked_when_in_use_as_domain_contact
|
||||
Domain.update_all(registrant_id: contacts(:william).id)
|
||||
DomainContact.first.update(contact_id: @contact.id)
|
||||
DomainContact.update_all(contact_id: @contact.id)
|
||||
|
||||
assert @contact.linked?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue