Skip to content

Commit 445805b

Browse files
committed
Drop unnecessary nonce parameters
#132 refactored the test so that nonce is automatically generated.
1 parent 7bcc3e7 commit 445805b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/lib/omniauth/strategies/openid_connect_test.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@ def test_callback_phase_with_discovery # rubocop:disable Metrics/AbcSize
280280

281281
def test_callback_phase_with_no_state_without_state_verification # rubocop:disable Metrics/AbcSize
282282
code = SecureRandom.hex(16)
283-
nonce = SecureRandom.hex(16)
284283

285284
strategy.options.require_state = false
286285

@@ -325,7 +324,6 @@ def test_callback_phase_with_no_state_without_state_verification # rubocop:disab
325324
def test_callback_phase_with_invalid_state_without_state_verification
326325
code = SecureRandom.hex(16)
327326
state = SecureRandom.hex(16)
328-
nonce = SecureRandom.hex(16)
329327

330328
strategy.options.require_state = false
331329

0 commit comments

Comments
 (0)