1
0
Fork 0
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2025-01-25 15:09:34 +00:00
akkoma/test/support/matching_helpers.ex

11 lines
258 B
Elixir
Raw Normal View History

2024-06-30 04:25:55 +01:00
defmodule Pleroma.Test.MatchingHelpers do
import ExUnit.Assertions
2024-08-20 11:05:17 +01:00
2024-06-30 04:25:55 +01:00
@assoc_fields [
:signing_key
]
def assert_user_match(actor1, actor2) do
assert Ecto.reset_fields(actor1, @assoc_fields) == Ecto.reset_fields(actor2, @assoc_fields)
end
end