diff options
-rw-r--r-- | userapi/storage/storage_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userapi/storage/storage_test.go b/userapi/storage/storage_test.go index 2eb57d0b..ef25b800 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" |