+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Mix.Tasks.Pleroma.Digest do
use Mix.Task
import Mix.Pleroma
def run(["test", nickname | opts]) do
Mix.Pleroma.start_pleroma()
- Application.ensure_all_started(:timex)
- Application.ensure_all_started(:swoosh)
user = Pleroma.User.get_by_nickname(nickname)