summaryrefslogtreecommitdiff
path: root/state_test.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-04-26 15:49:31 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-04-26 15:49:31 +0200
commit5608d9a858c2323002305ea1fedb5793a40edc58 (patch)
tree51b5152d0f6724ca663c714d00e8c43abd9888f9 /state_test.go
parent75aa163ccf407e9690f9ea0e548f8fed70073722 (diff)
Refactor: Authenticated -> Authorized
Diffstat (limited to 'state_test.go')
-rw-r--r--state_test.go6
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"