1
0
Fork 0
forked from mirrors/akkoma

mix format

This commit is contained in:
FloatingGhost 2023-08-01 16:16:56 +01:00
parent 4fa597d569
commit bcc6a0bc2d
3 changed files with 3 additions and 2 deletions

View file

@ -81,8 +81,7 @@
"BLH1qVhJItRGCfxgTtONfsOKDc9VRAraXw-3NsmjMngWSh7NxOizN6bkuRA7iLTMPS82PjwJAr3UoK9EC1IFrz4",
private_key: "_-XZ0iebPrRfZ_o0-IatTdszYa8VCH1yLN-JauK7HHA"
config :pleroma, Oban,
testing: :manual
config :pleroma, Oban, testing: :manual
config :pleroma, Pleroma.ScheduledActivity,
daily_user_limit: 2,

View file

@ -513,6 +513,7 @@ test "enqueues the poll end", %{activity: activity, meta: meta} do
{:ok, activity, meta} = SideEffects.handle(activity, meta)
{:ok, time, _} = DateTime.from_iso8601(meta[:object_data]["closed"])
assert_enqueued(
worker: Pleroma.Workers.PollWorker,
args: %{op: "poll_end", activity_id: activity.id},

View file

@ -51,6 +51,7 @@ test "it posts a poll" do
assert object.data["oneOf"] |> length() == 2
{:ok, time, _} = DateTime.from_iso8601(object.data["closed"])
assert_enqueued(
worker: PollWorker,
args: %{op: "poll_end", activity_id: activity.id},