Fix tests, relationship should always define _expires_at

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk 2026-01-28 13:58:33 +01:00
commit bc0c7fb310
2 changed files with 4 additions and 4 deletions

View file

@ -909,8 +909,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
relationship: %{
mute_expires_at: mute_expires_at
}
},
mute_expires_at: mute_expires_at
}
} = AccountView.render("show.json", %{user: other_user, for: user, embed_relationships: true})
assert DateTime.diff(
@ -931,8 +930,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
relationship: %{
block_expires_at: block_expires_at
}
},
block_expires_at: block_expires_at
}
} = AccountView.render("show.json", %{user: other_user, for: user, embed_relationships: true})
assert DateTime.diff(