debianize-mobilizon/test/service/workers/export_cleaner_worker.ex

15 lines
304 B
Elixir
Raw Normal View History

defmodule Mobilizon.Service.Workers.ExportCleanerWorkerTest do
@moduledoc """
Test the export cleaner worker
"""
alias Mobilizon.Service.Workers.ExportCleanerWorker
alias Oban.Job
use Mobilizon.DataCase
test "Run clean" do
assert :ok == ExportCleanerWorker.perform(%Job{})
end
end