bug(session): Allow only valid state transitions

This commit is contained in:
Irena Rindos committed 2022-01-12 16:01:49 -05:00
1 parent f8b2e99e11
commit edae7c899f
15 files changed
+441 -11

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ func Test_TestState(t *testing.T) {
require.NotNil(s)
assert.NotEmpty(s.PublicId)
state := TestState(t, conn, s.PublicId, StatusPending)
state := TestState(t, conn, s.PublicId, StatusActive)
require.NotNil(state)
}