mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-25 21:21:35 +00:00
Test_Devices, sqlite may return devices in different order, test should still pass (#2406)
This commit is contained in:
parent
987d7adc5d
commit
bfa344e831
@ -168,7 +168,7 @@ func Test_Devices(t *testing.T) {
|
||||
|
||||
devices2, err := db.GetDevicesByID(ctx, deviceIDs)
|
||||
assert.NoError(t, err, "unable to get devices by id")
|
||||
assert.Equal(t, devices, devices2)
|
||||
assert.ElementsMatch(t, devices, devices2)
|
||||
|
||||
// Update device
|
||||
newName := "new display name"
|
||||
|
Loading…
Reference in New Issue
Block a user