Skip to content

Commit

Permalink
test(user): 주석추가
Browse files Browse the repository at this point in the history
  • Loading branch information
qlido committed Apr 30, 2024
1 parent 1e32df8 commit 77375e6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ class CommandUserServiceTest extends ServiceTest {
void 유저_권한_업데이트() {
// given
Authority authority = Arbitraries.of(Authority.class).sample();
// 위와 다른 권한을 랜덤으로 선택
Authority otherAuthority = Arbitraries.of(Authority.class).filter(it -> it != authority).sample();

User user = FixtureGenerator.getDefaultUserBuilder()
.set(javaGetter(User::getAuthority), authority)
.sample();
Expand Down

0 comments on commit 77375e6

Please sign in to comment.