Move new "usernames -> UUIDs" endpoint to the correct location (#33)

* change: test non-injector endpoints in non-injector tests

* fix: move new "usernames -> UUIDs" endpoint to the correct location
This commit is contained in:
Octol1ttle 2024-06-17 17:02:01 +05:00 committed by GitHub
parent 0c110213f4
commit 4231f99717
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -41,13 +41,13 @@ return [
'/minecraft/session/hasJoined' => 'session/session/has-joined',
'/minecraft/session/legacy/hasJoined' => 'session/session/has-joined-legacy',
'/minecraft/session/profile/<uuid>' => 'session/session/profile',
'POST /minecraft/session/profile/lookup/bulk/byname' => 'mojang/api/uuids-by-usernames',
// Mojang API module routes
'/mojang/profiles/<username>' => 'mojang/api/uuid-by-username',
'/mojang/profiles/<uuid>/names' => 'mojang/api/usernames-by-uuid',
'POST /mojang/profiles' => 'mojang/api/uuids-by-usernames',
'GET /mojang/services/minecraft/profile' => 'mojang/services/profile',
'POST /mojang/services/minecraft/profile/lookup/bulk/byname' => 'mojang/api/uuids-by-usernames',
// authlib-injector
'/authlib-injector/authserver/<action>' => 'authserver/authentication/<action>',

View File

@ -137,8 +137,8 @@ class UsernamesToUuidsCest {
private function bulkProfilesEndpoints(): array {
return [
['/api/authlib-injector/api/profiles/minecraft'],
['/api/authlib-injector/sessionserver/session/minecraft/profile/lookup/bulk/byname'],
['/api/mojang/profiles'],
['/api/mojang/services/minecraft/profile/lookup/bulk/byname'],
];
}