mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 01:02:14 +00:00
Fix test
Issue gh-6245
This commit is contained in:
parent
aa767ec8bf
commit
132a78ddde
@ -88,7 +88,7 @@ public class ClaimConversionServiceTests {
|
||||
|
||||
@Test
|
||||
public void convertInstantWhenDateThenConverts() {
|
||||
Instant instant = Instant.now();
|
||||
Instant instant = new Date().toInstant();
|
||||
assertThat(this.conversionService.convert(Date.from(instant), Instant.class)).isEqualTo(instant);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user