mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-12 00:23:10 -06:00
Fix test checking which clients connected
Signed-off-by: Brian Meek <brian@hntlabs.com>
This commit is contained in:
parent
45c604f563
commit
f8b419a4c1
|
|
@ -283,6 +283,7 @@ func Test_UserStatistics(t *testing.T) {
|
|||
t.Fatalf("unable to update daily visits stats: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
gotStats, _, err := statsDB.UserStatistics(ctx, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("unexpected error: %v", err)
|
||||
|
|
@ -300,10 +301,10 @@ func Test_UserStatistics(t *testing.T) {
|
|||
},
|
||||
R30UsersV2: map[string]int64{
|
||||
"ios": 0,
|
||||
"android": 1,
|
||||
"web": 1,
|
||||
"android": 0,
|
||||
"web": 0,
|
||||
"electron": 0,
|
||||
"all": 2,
|
||||
"all": 0,
|
||||
},
|
||||
AllUsers: 6,
|
||||
NonBridgedUsers: 5,
|
||||
|
|
|
|||
Loading…
Reference in a new issue