Skip to content

Commit

Permalink
Merge branch 'develop' into CV2-4072-review-fields-of-types-team-type…
Browse files Browse the repository at this point in the history
…-and-user-type
  • Loading branch information
melsawy committed Jan 31, 2024
2 parents a8bcefa + 1f768a2 commit f3832f2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/controllers/sessions_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def setup

test "should lock user after excessive login requests" do
u = create_user login: 'test', password: '12345678', password_confirmation: '12345678', email: '[email protected]'
u.confirm
Devise.maximum_attempts = 2

2.times do
Expand All @@ -87,7 +86,6 @@ def setup

test "should unlock locked user accounts after specified time" do
u = create_user login: 'test', password: '12345678', password_confirmation: '12345678', email: '[email protected]'
u.confirm
maximum_attempts = Devise.maximum_attempts

maximum_attempts.times do
Expand Down

0 comments on commit f3832f2

Please sign in to comment.