Skip to content

Commit

Permalink
🐛 Fix 정답여부 저장 안 되는 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
miiiinju1 committed Dec 8, 2023
1 parent 0862314 commit d3c8268
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import swm_nm.morandi.domain.problem.repository.ProblemRepository;
import swm_nm.morandi.domain.testDuring.dto.TempCodeDto;
import swm_nm.morandi.domain.testDuring.dto.TestInfo;
import swm_nm.morandi.domain.testDuring.dto.TestStatus;
import swm_nm.morandi.domain.testDuring.dto.factory.TempCodeFactory;
import swm_nm.morandi.domain.testInfo.entity.AttemptProblem;
import swm_nm.morandi.domain.testInfo.entity.Tests;
Expand Down Expand Up @@ -96,6 +97,7 @@ private List<Tests> createTests(CustomTestRequest customTestRequest, List<Member
.problemCount(customTestRequest.getBojProblems().size())
.endDifficulty(DifficultyLevel.G5)
.startDifficulty(DifficultyLevel.S3)
.testStatus(TestStatus.IN_PROGRESS)
.build())
.collect(Collectors.toList());
testRepository.saveAll(tests);
Expand Down

0 comments on commit d3c8268

Please sign in to comment.