Skip to content

Commit

Permalink
Remove sample data
Browse files Browse the repository at this point in the history
  • Loading branch information
Pelayori committed Mar 9, 2024
1 parent 760fa27 commit b4669de
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,6 @@ public void insertSampleQuestions() {
playerService.generateApiKey(playerService.addNewPlayer(player));
}

GameSession gameSession = new GameSession();
gameSession.setFinishTime(LocalDateTime.now().plusMinutes(5));
gameSession.setCreatedAt(LocalDateTime.now());
gameSession.setTotalQuestions(40);
gameSession.setCorrectQuestions(10);
gameSession.setPlayer(playerService.getUserByEmail("[email protected]").get());
playerService.getUserByEmail("[email protected]").get().getGameSessions().add(gameSession);
gameSessionRepository.save(gameSession);

questionRepository.deleteAll();

MultipleQuestionGenerator allQuestionGenerator = new MultipleQuestionGenerator(
Expand Down

0 comments on commit b4669de

Please sign in to comment.