tests: remove a useless sleep in rate limiter tests
authorrinpatch <rinpatch@sdf.org>
Sun, 15 Dec 2019 22:03:13 +0000 (01:03 +0300)
committerrinpatch <rinpatch@sdf.org>
Sun, 15 Dec 2019 22:03:13 +0000 (01:03 +0300)
commit54029fe21271e7d4396699ee297f2910cd6fbbdc
tree70a32abacc2c2272302d7313961677dc81990488
parent137a3d220bba01e9cacd8007fa030c69830cc9aa
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.
test/conversation/participation_test.exs
test/plugs/rate_limiter_test.exs