增加 纠正删除刷新临牌时,调用mapper错误 的单元测试
This commit is contained in:
parent
68a0b381c1
commit
abe6828d0c
|
@ -134,6 +134,7 @@ public class OAuth2TokenServiceImplTest extends BaseDbAndRedisUnitTest {
|
|||
// 调用,并断言
|
||||
assertServiceException(() -> oauth2TokenService.refreshAccessToken(refreshToken, clientId),
|
||||
new ErrorCode(401, "刷新令牌已过期"));
|
||||
assertEquals(0, oauth2RefreshTokenMapper.selectCount());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue