Skip to content

Commit

Permalink
fix: fix test code
Browse files Browse the repository at this point in the history
  • Loading branch information
aiaiaiai1 committed Dec 9, 2024
1 parent 9480baf commit 791b4cf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class WorkspaceQueryServiceTest extends IntegrationTest {
assertThat(response.getProfileImageUrl()).isEqualTo(creator.getProfileImageName());
assertThat(response.getWorkoutConfirmationId()).isEqualTo(workoutHistory.getWorkoutConfirmation().getId());
assertThat(response.getIsObjection()).isEqualTo(false);
assertThat(response.getObjectionId()).isEqualTo(1L);
assertThat(response.getObjectionId()).isEqualTo(objection.getId());

WorkoutConfirmationOrObjectionResponse response1 = responses.get(1);
assertThat(response1.getNickname()).isEqualTo(creator.getNickname());
Expand Down Expand Up @@ -233,7 +233,7 @@ class 이의_신청_목록 {
List<ObjectionAlarmResponse> responses = workspaceQueryService.getObjections(creator, workspace.getId(), 0, ObjectionStatus.INCOMPLETION);

// then
assertThat(responses).hasSize (7);
assertThat(responses).hasSize(7);
assertThat(responses.get(6).getObjectionId()).isEqualTo(objections.get(2).getId());
assertThat(responses.get(6).getVoteCompletion()).isEqualTo(false);
assertThat(responses.get(6).getTargetWorkerNickname()).isEqualTo(creator.getNickname());
Expand Down

0 comments on commit 791b4cf

Please sign in to comment.