diff options
author | Roman Chvanikov <chvanikoff@pm.me> | 2019-09-16 20:30:42 +0300 |
---|---|---|
committer | Roman Chvanikov <chvanikoff@pm.me> | 2019-09-16 20:30:42 +0300 |
commit | 76c3e290fcb211ba21bf78711d832edbfc8f8979 (patch) | |
tree | cb8c3846ceb42b261c58dd294a55c553524ade34 /test/web/instances/instance_test.exs | |
parent | d7457c9165b83c0f1514cf0532b5a8bdc515ea02 (diff) | |
parent | a58f29b826333c1ecb0907228f0e087a3ecd9778 (diff) | |
download | pleroma-76c3e290fcb211ba21bf78711d832edbfc8f8979.tar.gz pleroma-76c3e290fcb211ba21bf78711d832edbfc8f8979.zip |
Merge develop
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 |