mirror of
https://github.com/ppy/osu
synced 2024-12-25 00:02:48 +00:00
Use direct localised string reference in test
This commit is contained in:
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", () =>
|
||||
|
Loading…
Reference in New Issue
Block a user