ObjectAgePolicy: Fix pattern matching on published
This commit is contained in:
parent
901204df22
commit
c64eae40a2
2 changed files with 6 additions and 1 deletions
|
|
@ -22,6 +22,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.ObjectAgePolicyTest do
|
|||
defp get_old_message do
|
||||
File.read!("test/fixtures/mastodon-post-activity.json")
|
||||
|> Jason.decode!()
|
||||
|> Map.drop(["published"])
|
||||
end
|
||||
|
||||
defp get_new_message do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue