Class leader fixes

This commit is contained in:
gamer147
2026-05-26 10:01:37 -04:00
parent b6966ece6e
commit 9090086a47
12 changed files with 2861 additions and 81 deletions

View File

@@ -197,14 +197,11 @@ public class GlobalsRepositoryTests
"Each starter deck should serialize multiple card IDs in card_id_array.");
}
[Test]
public async Task GetDefaultLeaderSkinSettings_returns_8_entries()
{
var (factory, repo) = await SetupAsync();
using var _ = factory;
var skins = await repo.GetDefaultLeaderSkinSettings();
Assert.That(skins.Count, Is.EqualTo(8));
}
// Note: GetDefaultLeaderSkinSettings was removed from IGlobalsRepository in the
// 2026-05-26 per-viewer leader-skin refactor. /deck/info now sources
// user_leader_skin_setting_list from viewer.Classes (each ViewerClassData carries the
// active LeaderSkin), and /leader_skin/set mutates it. Coverage moved to
// LeaderSkinControllerTests.
// Note: GetGameConfiguration was removed from IGlobalsRepository in the 2026-05-24 config
// refactor — Rotation/Challenge/etc. now load via IGameConfigService. See