accounts/api/tests
Octol1ttle 574d03d02f
Add a redirect for new Usernames to UUIDs endpoint (#29)
* fix: add redirect for new "Usernames to UUIDs" endpoint location

"As of 23w42a, the endpoint moved to: 'POST https://sessionserver.mojang.com/session/minecraft/profile/lookup/bulk/byname'
"
https://wiki.vg/Mojang_API#Usernames_to_UUIDs

* add a redirect for authlib-injector too

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* revert: .gitignore

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* tests: pass new URL to existing tests

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* review: address requested changes

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* style: add type hints to MinecraftProfilesCest functions too

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

---------

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-11-20 01:36:39 +01:00
..
_data/certs Replace emarref/jwt with lcobucci/jwt 2019-08-01 12:17:12 +03:00
_output Rework tests structure. Upgrade codeception to 2.5.3. Merge params configuration into app configuration. 2019-02-20 22:58:52 +03:00
_pages Add a redirect for new Usernames to UUIDs endpoint (#29) 2023-11-20 01:36:39 +01:00
_support Replace separate minecraft access tokens with JWT 2019-12-04 21:10:15 +03:00
config Rework tests structure. Upgrade codeception to 2.5.3. Merge params configuration into app configuration. 2019-02-20 22:58:52 +03:00
functional Add a redirect for new Usernames to UUIDs endpoint (#29) 2023-11-20 01:36:39 +01:00
unit Fix tests according to the latest permissions change [deploy dev] 2022-01-24 12:07:12 +01:00
_bootstrap.php Fix tests 2019-12-15 00:49:54 +03:00
.gitignore Rework tests structure. Upgrade codeception to 2.5.3. Merge params configuration into app configuration. 2019-02-20 22:58:52 +03:00
functional.suite.dist.yml Upgrade codeception to 4 version 2019-12-20 22:50:47 +03:00
unit.suite.dist.yml Get rid of mockery library. Still have some troubles with functional tests for api 2019-12-14 00:16:05 +03:00