diff --git a/store/tests/auth_sessions.go b/store/tests/auth_sessions.go index c63aec1e2..3a3261a15 100644 --- a/store/tests/auth_sessions.go +++ b/store/tests/auth_sessions.go @@ -18,7 +18,7 @@ func testAuthSessions(t *testing.T, s store.AuthSessions) { makeNew = func(handle string) *types.AuthSession { // minimum data set for new authSession return &types.AuthSession{ - ID: string(rand.Bytes(10)), + ID: handle, CreatedAt: time.Now(), Data: []byte("..."), }