bug(session): Allow only valid state transitions
This commit is contained in:
1 parent
f8b2e99e11
commit
edae7c899f
15 files changed
+441
-11
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user