diff --git a/src/test/java/com/gg/server/admin/game/controller/GameAdminControllerTest.java b/src/test/java/com/gg/server/admin/game/controller/GameAdminControllerTest.java index b99df8e05..e50ff043e 100644 --- a/src/test/java/com/gg/server/admin/game/controller/GameAdminControllerTest.java +++ b/src/test/java/com/gg/server/admin/game/controller/GameAdminControllerTest.java @@ -205,10 +205,7 @@ void getUserGameListEndPage() throws Exception { .header(HttpHeaders.AUTHORIZATION, "Bearer " + accessToken)) .andExpect(status().is2xxSuccessful()) .andReturn().getResponse().getContentAsString(); - GameTeamUser historyGame1 = gameRepository.findTeamsByGameIsIn(List.of(game1Info.getGameId())).get(0); - entityManager.flush(); - entityManager.clear(); adminUserRank = rankRepository.findByUserIdAndSeasonId(adminUserId, season.getId()).get(); enemyUser1Rank = rankRepository.findByUserIdAndSeasonId(enemyUser1.getId(), season.getId()) .get();