change test and fix Spring bug

This commit is contained in:
Looly
2021-06-13 23:46:45 +08:00
parent 5fe634935d
commit 878c0169ea
7 changed files with 54 additions and 20 deletions

View File

@@ -116,6 +116,6 @@ public class JWTSignerTest {
.setSigner(signer);
String token = jwt.sign();
Assert.assertTrue(JWT.of(token).setSigner(signer).verify());
Assert.assertTrue(JWT.of(token).verify(signer));
}
}