Tests: fixtures use the default manager name the dialog offers

other_games_ui_tests and ui_preparation_tests still expected "Nobody"; the
manager dialog offers "OpenBMH", so the attachment check rejected the fixture.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude committed 2026-11-10 14:23:30 +01:00
1 parent a503fff55f
commit 3ceb431aa4
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -30,9 +30,9 @@ PreparationState fixture(const LeImage& exe) {
PreparationState s;
auto& d = s.desktop;
d.source = "engine_projection"; d.revision = 7;
d.manager_slot = 0; d.runtime_club = 12; d.club_name = "UNITFC"; d.manager_name = "Nobody";
d.manager_slot = 0; d.runtime_club = 12; d.club_name = "UNITFC"; d.manager_name = "OpenBMH"; // the default name the manager dialog offers
d.manager_teams = {12};
d.managers = {{12,12,0,0,0,"Nobody"}};
d.managers = {{12,12,0,0,0,"OpenBMH"}};
d.league = 0; d.portrait = 0; d.date = desk_date(0, exe); d.strength = 80;
d.options.managers = 1; d.options.world = false; d.options.league = true;
d.automation[4] = 0x9f;
+2 -2
View File
@@ -397,8 +397,8 @@ PreparationState flow_fixture(const LeImage& exe) {
PreparationState state;
auto& d = state.desktop;
d.source = "engine_projection"; d.revision = 7;
d.manager_slot = 0; d.runtime_club = 12; d.club_name = "BAYERN"; d.manager_name = "Nobody";
d.manager_teams = {12}; d.managers = {{12,12,0,0,0,"Nobody"}};
d.manager_slot = 0; d.runtime_club = 12; d.club_name = "BAYERN"; d.manager_name = "OpenBMH"; // the default name the manager dialog offers
d.manager_teams = {12}; d.managers = {{12,12,0,0,0,"OpenBMH"}};
d.league = 0; d.portrait = 0; d.date = desk_date(0, exe); d.strength = 80;
d.options.managers = 1; d.options.world = false; d.options.league = true;
d.automation[4] = 0x9f;