Bugfix: PrivacyService didnt load UserRepository
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
LocationBasedServices/sumoc-backend/pipeline/pr-deploy Build started...

This commit is contained in:
2026-01-19 12:45:42 +01:00
parent 1369f4f25d
commit 1cca645696
3 changed files with 10 additions and 4 deletions
@@ -222,7 +222,7 @@ public class BadgeServiceTest {
User another = userRepository.save(uniqueUser(2));
another.getStats().addToAllStats("XP", 50);
badgeList = badgeService.getUserBadges(2L);
badgeList = badgeService.getUserBadges(another.getId());
assertNotNull(badgeList);
assertEquals(0, badgeList.size());