mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
Fix tests #2564
This commit is contained in:
parent
b18960c32a
commit
bfe9086ec0
3 changed files with 5 additions and 3 deletions
|
@ -24,7 +24,8 @@ class Epp::DomainsController < EppController
|
|||
authorize! :create, Epp::Domain
|
||||
@domain = Epp::Domain.new_from_epp(params[:parsed_frame], current_user)
|
||||
handle_errors(@domain) and return if @domain.errors.any?
|
||||
handle_errors(@domain) and return if @domain.valid? && @domain.errors.any?
|
||||
@domain.valid?
|
||||
handle_errors(@domain) and return if @domain.errors.any?
|
||||
|
||||
handle_errors and return unless balance_ok?('create')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue