diff --git a/userapi/storage/storage_test.go b/userapi/storage/storage_test.go index 2eb57d0bc..ef25b8000 100644 --- a/userapi/storage/storage_test.go +++ b/userapi/storage/storage_test.go @@ -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"