Skip to content

Commit

Permalink
fix(MatchingProcessServiceTest) : 차단자와 차단대상자가 반전되어있는 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
suhyun0918 committed Feb 17, 2024
1 parent 605b02d commit 27dc81f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public List<Participant> getMatchedParticipants() {
}

private void initialize(final MatchingOperateRequest matchingOperateRequest) {
participantGroup = ParticipantGroup.from(matchingOperateRequest, matchingRuleProperties); // TODO : 이전 매칭 기록, 차단 목록 주고 만들도록 시킴
participantGroup = ParticipantGroup.from(matchingOperateRequest, matchingRuleProperties);
languageQueue = LanguageQueue.classifyByLanguage(participantGroup);
matchingTypeGroup = MatchingTypeGroup.init(matchingRuleProperties);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import com.aliens.backend.auth.controller.dto.LoginMember;
import com.aliens.backend.auth.domain.Member;
import com.aliens.backend.block.controller.dto.BlockRequest;
import com.aliens.backend.block.domain.Block;
import com.aliens.backend.block.domain.repository.BlockRepository;
import com.aliens.backend.global.BaseServiceTest;
Expand Down Expand Up @@ -143,7 +142,7 @@ private List<MatchingResult> getMatchingResultByMatchingRound(MatchingRound matc
private void makeThisMemberBlockAllPartner(Member blockingMember) {
for (int i = 1; i < members.size(); i++) {
Member blockedMember = members.get(i);
Block blockRequest = Block.of(blockingMember, blockedMember);
Block blockRequest = Block.of(blockedMember, blockingMember);
blockRepository.save(blockRequest);
}
}
Expand Down

0 comments on commit 27dc81f

Please sign in to comment.