Skip to content

Commit

Permalink
FLASH-164 test: default problem id 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ChoiWonYu committed Jul 16, 2024
1 parent 4817c27 commit 6943a79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@

class SolutionServiceTest {

private final static UUID DEFAULT_PROBLEM_ID = UUID.randomUUID();
private final static UUID DEFAULT_PROBLEM_ID = UUID
.fromString("0000-0000-0000-0000-0000");
private final static Long NON_EXISTENT_SOLUTION_ID = 999L;

private SolutionRepository solutionRepository;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
public class FakeSolutionRepository implements SolutionRepository {

private final static Long DEFAULT_OPTIONAL_WEIGHT = 0L;
private final static UUID DEFAULT_PROBLEM_ID = UUID.randomUUID();
private final static UUID DEFAULT_PROBLEM_ID = UUID
.fromString("0000-0000-0000-0000-0000");

final private Map<Long, Solution> db = new HashMap<>();
private Long id = 0L;
Expand Down

0 comments on commit 6943a79

Please sign in to comment.