diff --git a/test/realtime/tenants/migrations_test.exs b/test/realtime/tenants/migrations_test.exs index aa2297379..092feb08a 100644 --- a/test/realtime/tenants/migrations_test.exs +++ b/test/realtime/tenants/migrations_test.exs @@ -28,9 +28,10 @@ defmodule Realtime.Tenants.MigrationsTest do end) end |> Task.await_many() - |> Enum.uniq() + |> MapSet.new() - assert [:ok, {:error, :migration_already_running}] = res + expected = MapSet.new([:ok, {:error, :migration_already_running}]) + assert ^expected = res end end end