feat: add new matchmake routes for player, event, club, and code

This commit is contained in:
Alexa
2026-07-02 10:11:05 +03:00
parent 1272768e16
commit 56b8d4285d
2 changed files with 50 additions and 3 deletions
@@ -28,6 +28,10 @@ public sealed class MatchmakePullInviteTests : IClassFixture<DorkNetServerFactor
[InlineData("/matchmake/instance/999")]
[InlineData("/matchmake/invite/999")]
[InlineData("/matchmake/chatinvite/2/16777216")] // {accountId}/{roomInstanceId}
[InlineData("/matchmake/player/2")]
[InlineData("/matchmake/event/999")]
[InlineData("/matchmake/club/999")]
[InlineData("/matchmake/code/5/ABCDEF")] // {roomId}/{code}
public async Task Matchmake_pull_routes_exist(string path)
{
using var client = ApiClient();
@@ -44,6 +48,10 @@ public sealed class MatchmakePullInviteTests : IClassFixture<DorkNetServerFactor
[InlineData("/matchmake/invite/999")]
[InlineData("/matchmake/chatinvite/2/16777216")]
[InlineData("/matchmake/room/5")]
[InlineData("/matchmake/player/2")]
[InlineData("/matchmake/event/999")]
[InlineData("/matchmake/club/999")]
[InlineData("/matchmake/code/5/ABCDEF")]
public void Matchmake_paths_route_to_same_service_as_goto(string path)
{
const string apex = "dork.test";