Skip to content

Commit dc7a752

Browse files
committed
Adds newlines in OneTimeTokenTests to fix formatting
1 parent 8d64036 commit dc7a752

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

core/src/test/java/org/springframework/security/authentication/ott/InMemoryOneTimeTokenServiceTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,14 @@
3838
* @author Marcus da Coregio
3939
*/
4040
class InMemoryOneTimeTokenServiceTests {
41+
4142
static final Duration CUSTOM_EXPIRE_DURATION = Duration.ofMinutes(30L);
4243

4344
InMemoryOneTimeTokenService oneTimeTokenService = new InMemoryOneTimeTokenService();
4445

4546
InMemoryOneTimeTokenService oneTimeTokenServiceWithTokenSettings = new InMemoryOneTimeTokenService(
4647
OneTimeTokenSettings.withDefaults().timeToLive(CUSTOM_EXPIRE_DURATION).build());
48+
4749
@Test
4850
void generateThenTokenValueShouldBeValidUuidAndProvidedUsernameIsUsed() {
4951
GenerateOneTimeTokenRequest request = new GenerateOneTimeTokenRequest("user");

core/src/test/java/org/springframework/security/authentication/ott/JdbcOneTimeTokenServiceTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,4 +229,5 @@ void consumeWhenTokenWithCustomExpireTimeIsExpiredThenReturnNull() {
229229
OneTimeToken consumed = this.oneTimeTokenServiceWithTokenSettings.consume(authenticationToken);
230230
assertThat(consumed).isNull();
231231
}
232+
232233
}

0 commit comments

Comments
 (0)