diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-26 15:49:31 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-26 15:49:31 +0200 |
| commit | 5608d9a858c2323002305ea1fedb5793a40edc58 (patch) | |
| tree | 51b5152d0f6724ca663c714d00e8c43abd9888f9 /state_test.go | |
| parent | 75aa163ccf407e9690f9ea0e548f8fed70073722 (diff) | |
Refactor: Authenticated -> Authorized
Diffstat (limited to 'state_test.go')
| -rw-r--r-- | state_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
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" |
