Commit 51d9611c6262513f46ec9977497effcd96954adb
1 parent
ba4c5393
chore:redisson 从 3.4.1 to 3.50.0
Showing
2 changed files
with
1 additions
and
9 deletions
yudao-dependencies/pom.xml
| ... | ... | @@ -28,7 +28,7 @@ |
| 28 | 28 | <mybatis-plus-join.version>1.5.4</mybatis-plus-join.version> |
| 29 | 29 | <dynamic-datasource.version>4.3.1</dynamic-datasource.version> |
| 30 | 30 | <easy-trans.version>3.0.6</easy-trans.version> |
| 31 | - <redisson.version>3.41.0</redisson.version> | |
| 31 | + <redisson.version>3.50.0</redisson.version> | |
| 32 | 32 | <dm8.jdbc.version>8.1.3.140</dm8.jdbc.version> |
| 33 | 33 | <kingbase.jdbc.version>8.6.0</kingbase.jdbc.version> |
| 34 | 34 | <opengauss.jdbc.version>5.1.0</opengauss.jdbc.version> | ... | ... |
yudao-module-system/src/test/java/cn/iocoder/yudao/module/system/service/oauth2/OAuth2GrantServiceImplTest.java
| ... | ... | @@ -16,7 +16,6 @@ import java.util.List; |
| 16 | 16 | import static cn.hutool.core.util.RandomUtil.randomEle; |
| 17 | 17 | import static cn.iocoder.yudao.framework.test.core.util.AssertUtils.assertPojoEquals; |
| 18 | 18 | import static cn.iocoder.yudao.framework.test.core.util.RandomUtils.*; |
| 19 | -import static java.util.Collections.emptyList; | |
| 20 | 19 | import static org.junit.jupiter.api.Assertions.*; |
| 21 | 20 | import static org.mockito.ArgumentMatchers.eq; |
| 22 | 21 | import static org.mockito.Mockito.when; |
| ... | ... | @@ -136,13 +135,6 @@ public class OAuth2GrantServiceImplTest extends BaseMockitoUnitTest { |
| 136 | 135 | } |
| 137 | 136 | |
| 138 | 137 | @Test |
| 139 | - public void testGrantClientCredentials() { | |
| 140 | - assertThrows(UnsupportedOperationException.class, | |
| 141 | - () -> oauth2GrantService.grantClientCredentials(randomString(), emptyList()), | |
| 142 | - "暂时不支持 client_credentials 授权模式"); | |
| 143 | - } | |
| 144 | - | |
| 145 | - @Test | |
| 146 | 138 | public void testRevokeToken_clientIdError() { |
| 147 | 139 | // 准备参数 |
| 148 | 140 | String clientId = randomString(); | ... | ... |