質問編集履歴

1

引数変更

2022/08/14 06:51

投稿

nissyan_hk
test CHANGED
File without changes
test CHANGED
@@ -261,7 +261,7 @@
261
261
  public void create(String username, String password, String authority) {
262
262
  var encodePassword = passwordEncoder.encode(password);
263
263
  Authority auth = Authority.valueof("authority")
264
- userRepository.insert(username, encodePassword, authority);
264
+ userRepository.insert(username, encodePassword, auth);
265
265
  }
266
266
 
267
267
  }