mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 18:26:06 +02:00
Update contact now userstamps on success
This commit is contained in:
parent
d2b94895b1
commit
6be202ad16
2 changed files with 11 additions and 0 deletions
|
@ -29,6 +29,16 @@ describe 'EPP Contact', epp: true do
|
|||
expect(Contact.count).to eq(1)
|
||||
end
|
||||
|
||||
it 'stamps updated_by succesfully' do
|
||||
Fabricate(:contact, code: 'sh8013')
|
||||
|
||||
expect(Contact.first.updated_by_id).to be nil
|
||||
|
||||
response = epp_request('contacts/update.xml')
|
||||
|
||||
expect(Contact.first.updated_by_id).to be 1
|
||||
end
|
||||
|
||||
#TODO tests for missing/invalid/etc ident
|
||||
|
||||
it 'deletes contact' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue