From 39d39ba81d472117e2e18a99be54ac9dcea4c2c7 Mon Sep 17 00:00:00 2001 From: Laetitia Date: Thu, 19 May 2022 12:17:27 +0300 Subject: [PATCH] typo --- lib/queuetopia/test/factories.ex | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/queuetopia/test/factories.ex b/lib/queuetopia/test/factories.ex index 2912f25..e800af0 100644 --- a/lib/queuetopia/test/factories.ex +++ b/lib/queuetopia/test/factories.ex @@ -1,13 +1,15 @@ defmodule Queuetopia.Factories do + alias Queuetopia.Queue.Job + def build(:job, attrs) do %Job{ - sequence: System.unique_integer([:positive]),, + sequence: System.unique_integer([:positive]), scope: "scope_#{System.unique_integer([:positive])}", queue: "queue_#{System.unique_integer([:positive])}", performer: "performer", action: "action_#{System.unique_integer([:positive])}", params: %{}, - scheduled_at: utc_now(), + scheduled_at: DateTime.utc_now(), timeout: 5_000, max_backoff: 0, max_attempts: 20