Keep tournament showcase cards in sync with tournament page count

This commit is contained in:
Kalle
2026-08-09 18:29:42 +03:00
parent 2f9983a049
commit f3a744abbe
14 changed files with 183 additions and 76 deletions

View File

@@ -1087,6 +1087,11 @@ export function buildCases(fx: Fixtures): {
addStatic("TournamentRepository.findAllForShowcase", () =>
TournamentRepository.findAllForShowcase(),
);
add(
"TournamentRepository.findShowcaseCountsById",
fx.heavyTournamentId,
(tournamentId) => TournamentRepository.findShowcaseCountsById(tournamentId),
);
add(
"TournamentRepository.findAllBetweenTwoTimestamps",
fx.calendarWindow,