Skip to content

Commit

Permalink
[ISSUE apache#4981] userId can not update success when update auth
Browse files Browse the repository at this point in the history
  • Loading branch information
GOODBOY008 committed Aug 10, 2023
1 parent 7711d77 commit e275cff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@
SET
app_secret = #{appSecret, jdbcType=VARCHAR},
phone = #{phone, jdbcType=VARCHAR},
user_id = #{userId, jdbcType=VARCHAR},
ext_info = #{extInfo, jdbcType=VARCHAR},
open = #{open, jdbcType=TINYINT},
enabled = #{enabled, jdbcType=TINYINT}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ public void testUpdateDetail() throws Exception {
appAuthDTO.setId("0001");
appAuthDTO.setAppKey("app key");
appAuthDTO.setAppSecret("app secret");
appAuthDTO.setUserId("user id");
appAuthDTO.setPhone("1234567");
given(this.appAuthService.updateDetail(appAuthDTO)).willReturn(
ShenyuAdminResult.success(ShenyuResultMessage.UPDATE_SUCCESS));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ private AppAuthDO buildAppAuthDO() {
.extInfo("{\"extInfo\":\"json\"}")
.open(true)
.enabled(false)
.userId("Aiden")
.phone("18800000000")
.userId(UUIDUtils.getInstance().generateShortUuid())
.dateCreated(now)
Expand Down

0 comments on commit e275cff

Please sign in to comment.