Skip to content

Commit

Permalink
✅ Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jonastahl authored and FungOliver committed Oct 5, 2024
1 parent 78b8334 commit 5801afd
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package de.secretj12.turnierplaner.resources;

import de.secretj12.turnierplaner.db.entities.*;
import de.secretj12.turnierplaner.db.entities.competition.*;
import de.secretj12.turnierplaner.db.entities.Player;
import de.secretj12.turnierplaner.db.entities.Tournament;
import de.secretj12.turnierplaner.db.entities.VerificationCode;
import de.secretj12.turnierplaner.db.entities.competition.Competition;
import de.secretj12.turnierplaner.db.repositories.CompetitionRepository;
import de.secretj12.turnierplaner.db.repositories.PlayerRepository;
import de.secretj12.turnierplaner.db.repositories.TournamentRepository;
Expand Down Expand Up @@ -56,6 +58,7 @@ private Competition genComp() {
public void addPlayer() {
Tournament tournament = new Tournament();
tournament.setName("Clubmeisterschaft");
tournament.setVisible(true);
tournamentRepository.persist(tournament);

Competition herren = genComp();
Expand Down

0 comments on commit 5801afd

Please sign in to comment.