mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
refactoring
This commit is contained in:
parent
81b476f37f
commit
4d64ee21a1
11 changed files with 49 additions and 42 deletions
|
@ -47,7 +47,7 @@ class RegistrantApiRegistryLocksTest < ApplicationIntegrationTest
|
|||
end
|
||||
|
||||
def test_cannot_lock_an_already_locked_domain
|
||||
@domain.apply_registry_lock(extensionsProhibited: false)
|
||||
@domain.apply_registry_lock(extensions_prohibited: false)
|
||||
assert(@domain.locked_by_registrant?)
|
||||
|
||||
post '/api/v1/registrant/domains/2df2c1a1-8f6a-490a-81be-8bdf29866880/registry_lock',
|
||||
|
@ -59,7 +59,7 @@ class RegistrantApiRegistryLocksTest < ApplicationIntegrationTest
|
|||
end
|
||||
|
||||
def test_can_unlock_a_locked_domain
|
||||
@domain.apply_registry_lock(extensionsProhibited: false)
|
||||
@domain.apply_registry_lock(extensions_prohibited: false)
|
||||
|
||||
delete '/api/v1/registrant/domains/2df2c1a1-8f6a-490a-81be-8bdf29866880/registry_lock',
|
||||
headers: @auth_headers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue