1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 05:29:57 +08:00

Use direct localised string reference in test

This commit is contained in:
Dean Herbert
2022-04-20 14:51:16 +09:00
Unverified
parent 66373bf038
commit 7e7fa633f0
@@ -11,6 +11,7 @@ using osu.Framework.Graphics.Containers;
using osu.Framework.Screens;
using osu.Framework.Testing;
using osu.Game.Configuration;
using osu.Game.Localisation;
using osu.Game.Overlays;
using osu.Game.Overlays.FirstRunSetup;
using osu.Game.Overlays.Notifications;
@@ -126,7 +127,7 @@ namespace osu.Game.Tests.Visual.UserInterface
if (overlay.CurrentScreen?.IsLoaded != false)
nextButton.TriggerClick();
return nextButton.Text.ToString() == "Finish";
return nextButton.Text.ToString() == CommonStrings.Finish;
});
AddUntilStep("step back to start", () =>