Skip to content

Commit

Permalink
fix GetClientOfflineSessions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerzal committed Nov 5, 2024
1 parent 77d3ec8 commit 2c86e26
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3952,7 +3952,10 @@ func Test_GetClientOfflineSessions(t *testing.T) {
)
require.NoError(t, err, "GetClientOfflineSessions failed")
require.NotEmpty(t, sessions, "GetClientOfflineSessions returned an empty list")
require.Equal(t, sessions, sessionsWithoutParams,

require.Equal(t, len(sessions), len(sessionsWithoutParams), "Number of sessions did not match")

require.Equal(t, *sessions[0], *sessionsWithoutParams[0],
"GetClientOfflineSessions with and without params are the same")
}

Expand Down

0 comments on commit 2c86e26

Please sign in to comment.