mix format
This commit is contained in:
parent
4fa597d569
commit
bcc6a0bc2d
3 changed files with 3 additions and 2 deletions
|
@ -81,8 +81,7 @@ config :web_push_encryption, :vapid_details,
|
||||||
"BLH1qVhJItRGCfxgTtONfsOKDc9VRAraXw-3NsmjMngWSh7NxOizN6bkuRA7iLTMPS82PjwJAr3UoK9EC1IFrz4",
|
"BLH1qVhJItRGCfxgTtONfsOKDc9VRAraXw-3NsmjMngWSh7NxOizN6bkuRA7iLTMPS82PjwJAr3UoK9EC1IFrz4",
|
||||||
private_key: "_-XZ0iebPrRfZ_o0-IatTdszYa8VCH1yLN-JauK7HHA"
|
private_key: "_-XZ0iebPrRfZ_o0-IatTdszYa8VCH1yLN-JauK7HHA"
|
||||||
|
|
||||||
config :pleroma, Oban,
|
config :pleroma, Oban, testing: :manual
|
||||||
testing: :manual
|
|
||||||
|
|
||||||
config :pleroma, Pleroma.ScheduledActivity,
|
config :pleroma, Pleroma.ScheduledActivity,
|
||||||
daily_user_limit: 2,
|
daily_user_limit: 2,
|
||||||
|
|
|
@ -513,6 +513,7 @@ defmodule Pleroma.Web.ActivityPub.SideEffectsTest do
|
||||||
{:ok, activity, meta} = SideEffects.handle(activity, meta)
|
{:ok, activity, meta} = SideEffects.handle(activity, meta)
|
||||||
|
|
||||||
{:ok, time, _} = DateTime.from_iso8601(meta[:object_data]["closed"])
|
{:ok, time, _} = DateTime.from_iso8601(meta[:object_data]["closed"])
|
||||||
|
|
||||||
assert_enqueued(
|
assert_enqueued(
|
||||||
worker: Pleroma.Workers.PollWorker,
|
worker: Pleroma.Workers.PollWorker,
|
||||||
args: %{op: "poll_end", activity_id: activity.id},
|
args: %{op: "poll_end", activity_id: activity.id},
|
||||||
|
|
|
@ -51,6 +51,7 @@ defmodule Pleroma.Web.CommonAPITest do
|
||||||
assert object.data["oneOf"] |> length() == 2
|
assert object.data["oneOf"] |> length() == 2
|
||||||
|
|
||||||
{:ok, time, _} = DateTime.from_iso8601(object.data["closed"])
|
{:ok, time, _} = DateTime.from_iso8601(object.data["closed"])
|
||||||
|
|
||||||
assert_enqueued(
|
assert_enqueued(
|
||||||
worker: PollWorker,
|
worker: PollWorker,
|
||||||
args: %{op: "poll_end", activity_id: activity.id},
|
args: %{op: "poll_end", activity_id: activity.id},
|
||||||
|
|
Loading…
Reference in a new issue