1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 18:32:55 +08:00

Add failing test case

This commit is contained in:
Salman Ahmed 2022-07-20 08:47:20 +03:00
parent c4e32742dc
commit e7f35701db
2 changed files with 43 additions and 10 deletions

File diff suppressed because one or more lines are too long

View File

@ -11,15 +11,16 @@ namespace osu.Game.Online.API.Requests
{ {
public class GetWikiRequest : APIRequest<APIWikiPage> public class GetWikiRequest : APIRequest<APIWikiPage>
{ {
private readonly string path; public readonly string Path;
private readonly Language language; private readonly Language language;
public GetWikiRequest(string path, Language language = Language.en) public GetWikiRequest(string path, Language language = Language.en)
{ {
this.path = path; Path = path;
this.language = language; this.language = language;
} }
protected override string Target => $"wiki/{language.ToCultureCode()}/{path}"; protected override string Target => $"wiki/{language.ToCultureCode()}/{Path}";
} }
} }