diff options
author | rinpatch <rinpatch@sdf.org> | 2019-09-15 20:22:17 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-09-15 20:22:17 +0000 |
commit | 2990c0a53b14646eab19b57d068ac8aa7e17ea4e (patch) | |
tree | 7681ac3405657948a062c396b70bb2f275e91238 /test/web/instances/instance_test.exs | |
parent | 9c64a25713790fefa8b5c419aeadf55113c17073 (diff) | |
parent | 3b8ec98b0e3b3fb2bd333f3be724676c4821366f (diff) | |
download | pleroma-2990c0a53b14646eab19b57d068ac8aa7e17ea4e.tar.gz |
Merge branch '1149-oban-job-queue' into 'develop'
[#1149] `oban`-based job & retry queues
Closes #1149
See merge request pleroma/pleroma!1518
Diffstat (limited to 'test/web/instances/instance_test.exs')
-rw-r--r-- | test/web/instances/instance_test.exs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/web/instances/instance_test.exs b/test/web/instances/instance_test.exs index 3fd011fd3..0b53bc6cd 100644 --- a/test/web/instances/instance_test.exs +++ b/test/web/instances/instance_test.exs @@ -16,7 +16,8 @@ defmodule Pleroma.Instances.InstanceTest do describe "set_reachable/1" do test "clears `unreachable_since` of existing matching Instance record having non-nil `unreachable_since`" do - instance = insert(:instance, unreachable_since: NaiveDateTime.utc_now()) + unreachable_since = NaiveDateTime.to_iso8601(NaiveDateTime.utc_now()) + instance = insert(:instance, unreachable_since: unreachable_since) assert {:ok, instance} = Instance.set_reachable(instance.host) refute instance.unreachable_since |