mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 11:38:30 +02:00
New contact list for REPP
This commit is contained in:
parent
4453fbe302
commit
2438e1e052
3 changed files with 73 additions and 18 deletions
|
@ -77,14 +77,7 @@ describe Repp::DomainV1 do
|
|||
body = JSON.parse(response.body)
|
||||
body['error'].should == 'limit does not have a valid value'
|
||||
|
||||
log = ApiLog::ReppLog.last
|
||||
log[:request_path].should == '/repp/v1/domains'
|
||||
log[:request_method].should == 'GET'
|
||||
log[:request_params].should == '{}'
|
||||
log[:response_code].should == '200'
|
||||
log[:api_user_name].should == 'gitlab'
|
||||
log[:api_user_registrar].should == 'registrar1'
|
||||
log[:ip].should == '127.0.0.1'
|
||||
# TODO: Log failed API requests too
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue