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:
parent
137a3d220b
commit
54029fe212
2 changed files with 3 additions and 13 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue