forked from mirrors/akkoma
mix format
This commit is contained in:
parent
4fa597d569
commit
bcc6a0bc2d
|
@ -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,
|
||||
|
|
|
@ -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},
|
||||
|
|
|
@ -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},
|
||||
|
|
Loading…
Reference in a new issue