Commit 932e80ed authored by Grzegorz Bizon's avatar Grzegorz Bizon

Still record redundant user session destruction events

parent 0dd0dc23
...@@ -71,7 +71,7 @@ describe 'Login' do ...@@ -71,7 +71,7 @@ describe 'Login' do
expect(authentication_metrics) expect(authentication_metrics)
.to increment(:user_blocked_counter) .to increment(:user_blocked_counter)
.and increment(:user_unauthenticated_counter) .and increment(:user_unauthenticated_counter)
.and increment(:user_session_destroyed_counter) .and increment(:user_session_destroyed_counter).twice
user = create(:user, :blocked) user = create(:user, :blocked)
...@@ -84,7 +84,7 @@ describe 'Login' do ...@@ -84,7 +84,7 @@ describe 'Login' do
expect(authentication_metrics) expect(authentication_metrics)
.to increment(:user_blocked_counter) .to increment(:user_blocked_counter)
.and increment(:user_unauthenticated_counter) .and increment(:user_unauthenticated_counter)
.and increment(:user_session_destroyed_counter) .and increment(:user_session_destroyed_counter).twice
user = create(:user, :blocked) user = create(:user, :blocked)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment