Skip to content

Commit 341c861

Browse files
refactor: remove PR-scoped comment from AuthenticatorTest
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 7ebbf44 commit 341c861

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

smartling-api-commons/src/test/java/com/smartling/api/v2/client/auth/AuthenticatorTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,6 @@ public void refreshExpiresAtUsesSecondsToMillisConversion()
148148
when(clock.currentTimeMillis()).thenReturn(System.currentTimeMillis());
149149
authenticator.getAccessToken();
150150

151-
// refreshExpiresAt must be computed with a *1000 (not *100) conversion,
152-
// so it should still be refreshable just before the real TTL elapses.
153151
when(clock.currentTimeMillis()).thenReturn(REFRESH_TOKEN_TTL * 1000 + System.currentTimeMillis() - 1000);
154152
assertTrue(authenticator.isRefreshable());
155153
}

0 commit comments

Comments
 (0)