tests: remove a useless sleep in rate limiter tests

It was used to check that authenticated and unauthenticated users have
different limits. Instead of sleeping a super low limit for
unauthenticated users was set, preventing them from doing 5 requests in
the first place.
This commit is contained in:
rinpatch 2019-12-16 01:03:13 +03:00
commit 54029fe212
2 changed files with 3 additions and 13 deletions

View file

@ -99,7 +99,7 @@ defmodule Pleroma.Conversation.ParticipationTest do
assert participation.user_id == user.id
assert participation.conversation_id == conversation.id
# Needed because updated_at is accurate down to a second
:timer.sleep(1000)