mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 16:53:37 +02:00
Added test debugger for test signing
This commit is contained in:
parent
f146bca5c7
commit
0e3382f348
2 changed files with 4 additions and 1 deletions
|
@ -58,6 +58,9 @@ class Certificate < ActiveRecord::Base
|
|||
errors.add(:base, I18n.t('failed_to_create_certificate'))
|
||||
logger.error('FAILED TO CREATE CLIENT CERTIFICATE')
|
||||
logger.error(err)
|
||||
# rubocop:disable Rails/Output
|
||||
puts "Certificate sign issue: #{err.inspect}" if Rails.env.test?
|
||||
# rubocop:enable Rails/Output
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
|
|
@ -265,7 +265,7 @@ class Domain < ActiveRecord::Base
|
|||
changed: #{registrar.updated_at.to_s(:db)}
|
||||
EOS
|
||||
end
|
||||
# rubocop:enabled Metrics/MethodLength
|
||||
# rubocop:enable Metrics/MethodLength
|
||||
|
||||
def contacts_body
|
||||
out = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue