From 5608d9a858c2323002305ea1fedb5793a40edc58 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 26 Apr 2022 15:49:31 +0200 Subject: Refactor: Authenticated -> Authorized --- state_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'state_test.go') diff --git a/state_test.go b/state_test.go index 9578307..5f37147 100644 --- a/state_test.go +++ b/state_test.go @@ -180,10 +180,10 @@ func Test_token_invalid(t *testing.T) { t.Errorf("Connect error before invalid: %v", configErr) } - // Fake connect and then back to authenticated so that we can re-authenticate - // Going to authenticated fakes a disconnect + // Fake connect and then back to authorized so that we can re-authorize + // Going to authorized fakes a disconnect state.FSM.GoTransition(internal.CONNECTED) - state.FSM.GoTransition(internal.AUTHENTICATED) + state.FSM.GoTransition(internal.AUTHORIZED) dummy_value := "37" -- cgit v1.2.3