updated tests

This commit is contained in:
olegphenomenon 2021-09-23 17:00:24 +03:00
parent 41ee61d57a
commit c34e775acd
2 changed files with 3 additions and 3 deletions

View file

@ -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"

View file

@ -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