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:
parent
c4e32742dc
commit
e7f35701db
File diff suppressed because one or more lines are too long
@ -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}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user