aboutsummaryrefslogtreecommitdiff
path: root/test/pleroma/chat_test.exs
diff options
context:
space:
mode:
Diffstat (limited to 'test/pleroma/chat_test.exs')
-rw-r--r--test/pleroma/chat_test.exs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/pleroma/chat_test.exs b/test/pleroma/chat_test.exs
index 9e8a9ebf0..1dd04916c 100644
--- a/test/pleroma/chat_test.exs
+++ b/test/pleroma/chat_test.exs
@@ -73,7 +73,8 @@ defmodule Pleroma.ChatTest do
other_user = insert(:user)
{:ok, chat} = Chat.bump_or_create(user.id, other_user.ap_id)
- :timer.sleep(1500)
+ {:ok, chat} = time_travel(chat, -2)
+
{:ok, chat_two} = Chat.bump_or_create(user.id, other_user.ap_id)
assert chat.id == chat_two.id