Skip to content

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
olegphenomenon committed Sep 23, 2021
1 parent 41ee61d commit c34e775
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/jobs/replace_upd_to_obj_upd_prohibited_job_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -21,7 +21,7 @@ def test_start_adding_new_status_for_locked_domains
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"

Expand Down
2 changes: 1 addition & 1 deletion test/models/feature_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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
Expand Down

0 comments on commit c34e775

Please sign in to comment.