mix format
Some checks failed
ci/woodpecker/push/build-arm64 Pipeline is pending
ci/woodpecker/push/build-amd64 Pipeline is pending
ci/woodpecker/push/docs Pipeline is pending
ci/woodpecker/push/test Pipeline is pending
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/pr/build-arm64 unknown status
ci/woodpecker/pr/docs unknown status
ci/woodpecker/pr/build-amd64 unknown status
Some checks failed
ci/woodpecker/push/build-arm64 Pipeline is pending
ci/woodpecker/push/build-amd64 Pipeline is pending
ci/woodpecker/push/docs Pipeline is pending
ci/woodpecker/push/test Pipeline is pending
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/pr/build-arm64 unknown status
ci/woodpecker/pr/docs unknown status
ci/woodpecker/pr/build-amd64 unknown status
This commit is contained in:
parent
4fa597d569
commit
bcc6a0bc2d
3 changed files with 3 additions and 2 deletions
|
@ -81,8 +81,7 @@
|
||||||
"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 @@ test "enqueues the poll end", %{activity: activity, meta: meta} 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 @@ test "it posts a poll" 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