diff options
author | Maxim Filippov <colixer@gmail.com> | 2019-09-16 14:40:17 +0300 |
---|---|---|
committer | Maxim Filippov <colixer@gmail.com> | 2019-09-16 14:40:17 +0300 |
commit | 219dca1b00a60805545dd3de433de285cc944af5 (patch) | |
tree | f8ffd4f93bf3f7bcd7ce0b789a18fb425134781a /test/web/instances/instance_test.exs | |
parent | 736165c082d34ef4d52367ea8315c228a1df3944 (diff) | |
parent | 409e701ab849475c81073d80a973487d67cadaae (diff) | |
download | pleroma-219dca1b00a60805545dd3de433de285cc944af5.tar.gz pleroma-219dca1b00a60805545dd3de433de285cc944af5.zip |
Merge branch 'develop' into feature/return-total-for-reports
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 |