mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
config: EPP port. spec use config; depp/user use config not custom for test
This commit is contained in:
parent
647d68b053
commit
53695c3647
2 changed files with 4 additions and 2 deletions
|
@ -18,7 +18,7 @@ module Depp
|
|||
def server
|
||||
client_cert = File.read(ENV['cert_path'])
|
||||
client_key = File.read(ENV['key_path'])
|
||||
port = Rails.env.test? ? 701 : ENV['epp_port']
|
||||
port = ENV['epp_port'] || '700'
|
||||
|
||||
@server_cache ||= Epp::Server.new({
|
||||
server: ENV['epp_hostname'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue