mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Add failing test case
This commit is contained in:
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>
|
||||
{
|
||||
private readonly string path;
|
||||
public readonly string Path;
|
||||
|
||||
private readonly Language language;
|
||||
|
||||
public GetWikiRequest(string path, Language language = Language.en)
|
||||
{
|
||||
this.path = path;
|
||||
Path = path;
|
||||
this.language = language;
|
||||
}
|
||||
|
||||
protected override string Target => $"wiki/{language.ToCultureCode()}/{path}";
|
||||
protected override string Target => $"wiki/{language.ToCultureCode()}/{Path}";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user