mirror of
https://github.com/internetee/registry.git
synced 2025-06-12 07:34:45 +02:00
updated tests
This commit is contained in:
parent
41ee61d57a
commit
c34e775acd
2 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ class ReplaceUpdToObjUpdProhibitedJobTest < ActiveSupport::TestCase
|
|||
end
|
||||
|
||||
def test_start_adding_new_status_for_locked_domains
|
||||
@domain.apply_registry_lock
|
||||
@domain.apply_registry_lock(extensions_prohibited: false)
|
||||
assert @domain.locked_by_registrant?
|
||||
|
||||
perform_enqueued_jobs do
|
||||
|
@ -21,7 +21,7 @@ class ReplaceUpdToObjUpdProhibitedJobTest < ActiveSupport::TestCase
|
|||
end
|
||||
|
||||
def test_start_adding_new_status_for_locked_domains
|
||||
@domain.apply_registry_lock
|
||||
@domain.apply_registry_lock(extensions_prohibited: false)
|
||||
assert @domain.locked_by_registrant?
|
||||
assert @domain.statuses.include? "serverUpdateProhibited"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ require 'test_helper'
|
|||
class FeatureTest < ActiveSupport::TestCase
|
||||
setup do
|
||||
@domain = domains(:shop)
|
||||
@domain.apply_registry_lock
|
||||
@domain.apply_registry_lock(extensions_prohibited: false)
|
||||
end
|
||||
|
||||
def test_if_obj_and_extensions_prohibited_enabled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue