forked from mystiq/dex
Fix conformance tests
This commit is contained in:
parent
7a76c767fe
commit
b9b315dd64
1 changed files with 8 additions and 6 deletions
|
@ -512,6 +512,7 @@ func testOfflineSessionCRUD(t *testing.T, s storage.Storage) {
|
|||
UserID: userID1,
|
||||
ConnID: "Conn1",
|
||||
Refresh: make(map[string]*storage.RefreshTokenRef),
|
||||
ConnectorData: []byte(`{"some":"data"}`),
|
||||
}
|
||||
|
||||
// Creating an OfflineSession with an empty Refresh list to ensure that
|
||||
|
@ -529,6 +530,7 @@ func testOfflineSessionCRUD(t *testing.T, s storage.Storage) {
|
|||
UserID: userID2,
|
||||
ConnID: "Conn2",
|
||||
Refresh: make(map[string]*storage.RefreshTokenRef),
|
||||
ConnectorData: []byte(`{"some":"data"}`),
|
||||
}
|
||||
|
||||
if err := s.CreateOfflineSessions(session2); err != nil {
|
||||
|
|
Loading…
Reference in a new issue