Skip to content

Commit db57237

Browse files
committed
test: 调整List.of为java8兼容的语法Collections.singletonList.
1 parent e261db6 commit db57237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weixin-java-miniapp/src/test/java/cn/binarywang/wx/miniapp/api/impl/WxMaEmployeeRelationServiceImplTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private static Map<String, Object> getStringObjectMap() {
6666
@Test
6767
public void testUnbinduserb2cauthinfo() throws WxErrorException {
6868
WxMaUnbindEmployeeRequest wxMaUnbindEmployeeRequest = new WxMaUnbindEmployeeRequest();
69-
wxMaUnbindEmployeeRequest.setOpenidList(List.of("o0uBr12b1zdgCk1qDoBivmSYb9GA"));
69+
wxMaUnbindEmployeeRequest.setOpenidList(Collections.singletonList("o0uBr12b1zdgCk1qDoBivmSYb9GA"));
7070
this.wxService.getEmployeeRelationService().unbindEmployee(wxMaUnbindEmployeeRequest);
7171
}
7272

0 commit comments

Comments
 (0)