mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:03:22 +08:00
Use main page constant in more places
This commit is contained in:
parent
b03813d3b4
commit
7d57a668ab
@ -25,7 +25,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
private readonly Bindable<APIWikiPage> wikiPageData = new Bindable<APIWikiPage>(new APIWikiPage
|
||||
{
|
||||
Title = "Main page",
|
||||
Path = "Main_page",
|
||||
Path = WikiOverlay.INDEX_PATH,
|
||||
});
|
||||
|
||||
private TestHeader header;
|
||||
|
@ -11,6 +11,7 @@ using osu.Game.Online.API;
|
||||
using osu.Game.Online.API.Requests;
|
||||
using osu.Game.Online.API.Requests.Responses;
|
||||
using osu.Game.Overlays;
|
||||
using osu.Game.Overlays.Wiki;
|
||||
|
||||
namespace osu.Game.Tests.Visual.Online
|
||||
{
|
||||
@ -111,8 +112,8 @@ namespace osu.Game.Tests.Visual.Online
|
||||
private APIWikiPage responseMainPage => new APIWikiPage
|
||||
{
|
||||
Title = "Main page",
|
||||
Layout = "main_page",
|
||||
Path = "Main_page",
|
||||
Layout = WikiOverlay.INDEX_PATH.ToLowerInvariant(), // custom classes are always lower snake.
|
||||
Path = WikiOverlay.INDEX_PATH,
|
||||
Locale = "en",
|
||||
Subtitle = null,
|
||||
Markdown =
|
||||
|
Loading…
Reference in New Issue
Block a user