Skip to content

Commit

Permalink
[TEST] #232 test code entity manger flush remove
Browse files Browse the repository at this point in the history
  • Loading branch information
AYoungSn committed Jan 24, 2024
1 parent 49eb9a0 commit 8f3714c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 8f3714c

Please sign in to comment.