1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 12:30:11 +08:00

Fix TestSceneUserPanel tests failing

This commit is contained in:
Salman Ahmed
2024-02-11 11:39:12 +03:00
Unverified
parent bc2b705063
commit 11b3fa8691
@@ -47,7 +47,11 @@ namespace osu.Game.Tests.Visual.Online
activity.Value = null;
status.Value = null;
Child = new FillFlowContainer
Remove(statisticsProvider, false);
Clear();
Add(statisticsProvider);
Add(new FillFlowContainer
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
@@ -113,7 +117,7 @@ namespace osu.Game.Tests.Visual.Online
Statistics = new UserStatistics { GlobalRank = null, CountryRank = null }
}) { Width = 300 }
}
};
});
boundPanel1.Status.BindTo(status);
boundPanel1.Activity.BindTo(activity);