From 3ceb431aa4cb2cb8bb929a837fc3cd3383feeaba Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 10 Nov 2026 14:23:30 +0100 Subject: [PATCH] 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 --- src/ui/preparation_tests.cpp | 4 ++-- tests/other_games_ui_tests.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ui/preparation_tests.cpp b/src/ui/preparation_tests.cpp index 65338f3..832e887 100644 --- a/src/ui/preparation_tests.cpp +++ b/src/ui/preparation_tests.cpp @@ -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; diff --git a/tests/other_games_ui_tests.cpp b/tests/other_games_ui_tests.cpp index c981446..4ba3fde 100644 --- a/tests/other_games_ui_tests.cpp +++ b/tests/other_games_ui_tests.cpp @@ -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;