From 72d18602d892b8c92d541986c53b1cda7e1133e4 Mon Sep 17 00:00:00 2001 From: Hazelnoot Date: Wed, 11 Dec 2024 14:07:14 -0500 Subject: [PATCH] fix SkRateLimiterService tests --- .../backend/test/unit/server/api/SkRateLimiterServiceTests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/test/unit/server/api/SkRateLimiterServiceTests.ts b/packages/backend/test/unit/server/api/SkRateLimiterServiceTests.ts index bf424852e6..d13dbd2a71 100644 --- a/packages/backend/test/unit/server/api/SkRateLimiterServiceTests.ts +++ b/packages/backend/test/unit/server/api/SkRateLimiterServiceTests.ts @@ -908,7 +908,7 @@ describe(SkRateLimiterService, () => { await serviceUnderTest().limit(limit, actor); - expect(commands).toContainEqual(['expire', 'rl_actor_test_c', 1]); + expect(commands).toContainEqual(['expire', 'rl_actor_test_c', 5]); }); it('should set timestamp expiration', async () => { @@ -920,7 +920,7 @@ describe(SkRateLimiterService, () => { await serviceUnderTest().limit(limit, actor); - expect(commands).toContainEqual(['expire', 'rl_actor_test_t', 1]); + expect(commands).toContainEqual(['expire', 'rl_actor_test_t', 5]); }); it('should not increment when already blocked', async () => {