Skip to content

Commit

Permalink
[modify] 불필요한 객체 삭제 (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
kseysh committed Jan 9, 2025
1 parent 0802de8 commit 8b8e981
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.

This file was deleted.

5 changes: 2 additions & 3 deletions src/test/java/org/sopt/app/facade/UserFacadeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import org.sopt.app.application.playground.dto.PlaygroundProfileInfo.MainView;
import org.sopt.app.application.playground.PlaygroundAuthService;
import org.sopt.app.application.notification.NotificationService;
import org.sopt.app.application.operation.OperationInfo;
import org.sopt.app.common.fixtures.UserFixture;
import org.sopt.app.presentation.user.UserResponse;
import org.sopt.app.presentation.user.UserResponse.Operation;
Expand Down Expand Up @@ -49,8 +48,8 @@ void getMainViewInfo() {
//when
when(playgroundAuthService.getPlaygroundUserForMainView(anyString(), anyLong())).thenReturn(playgroundAuthInfo);
when(notificationService.getNotificationConfirmStatus(anyLong())).thenReturn(isNotificationConfirm);
when(userResponseMapper.ofMainView(any(MainView.class), any(OperationInfo.MainView.class),
anyBoolean())).thenReturn(mainViewResponse);
when(userResponseMapper.ofMainView(any(MainView.class), any(UserResponse.Operation.class), anyBoolean()))
.thenReturn(mainViewResponse);

UserResponse.MainView expected = UserResponse.MainView.builder()
.user(mainViewResponse.getUser())
Expand Down

0 comments on commit 8b8e981

Please sign in to comment.