mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 10:49:39 +02:00
Test fixes
This commit is contained in:
parent
07c3a58c26
commit
fe74c0bd64
3 changed files with 9 additions and 7 deletions
|
@ -120,9 +120,10 @@ module Epp::Common
|
|||
end
|
||||
|
||||
def write_to_epp_log
|
||||
request_command = params[:command] || params[:action] # error receives :command, other methods receive :action
|
||||
ApiLog::EppLog.create({
|
||||
request: params[:raw_frame],
|
||||
request_command: params[:action],
|
||||
request: params[:raw_frame] || params[:frame],
|
||||
request_command: request_command,
|
||||
request_successful: epp_errors.empty?,
|
||||
request_object: params[:epp_object_type], # TODO: fix this for login and logout
|
||||
response: @response,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue