mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 18:26:06 +02:00
Epp contact tests now 10x faster
This commit is contained in:
parent
4e7b0e6104
commit
4401d8495e
9 changed files with 361 additions and 324 deletions
|
@ -16,6 +16,7 @@ class Epp::ContactsController < EppController
|
|||
def update
|
||||
# FIXME: Update returns 2303 update multiple times
|
||||
code = params_hash['epp']['command']['update']['update'][:id]
|
||||
|
||||
@contact = Contact.where(code: code).first
|
||||
# if update_rights? && stamp(@contact) && @contact.update_attributes(contact_and_address_attributes(:update))
|
||||
if owner? && stamp(@contact) && @contact.update_attributes(contact_and_address_attributes(:update))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue