Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TA page backend #1062

Merged
merged 14 commits into from
Sep 5, 2024

changes

a0870e3
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

TA page backend #1062

changes
a0870e3
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test PhotonStateManager report succeeded Sep 5, 2024 in 0s

25 passed, 0 failed and 0 skipped

Tests passed successfully

✅ DragaliaAPI.Photon.StateManager.Test.trx

25 tests were completed in 8s with 25 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
DragaliaAPI.Photon.StateManager.Test.Event.EntryConditionsTest 2✅ 120ms
DragaliaAPI.Photon.StateManager.Test.Event.GameCloseTest 2✅ 69ms
DragaliaAPI.Photon.StateManager.Test.Event.GameCreateTest 2✅ 91ms
DragaliaAPI.Photon.StateManager.Test.Event.GameJoinTest 2✅ 87ms
DragaliaAPI.Photon.StateManager.Test.Event.GameLeaveTest 3✅ 130ms
DragaliaAPI.Photon.StateManager.Test.Event.MatchingTypeTest 2✅ 62ms
DragaliaAPI.Photon.StateManager.Test.Event.RoomIdTest 1✅ 55ms
DragaliaAPI.Photon.StateManager.Test.Event.VisibleTest 2✅ 168ms
DragaliaAPI.Photon.StateManager.Test.Get.ByIdTest 2✅ 6s
DragaliaAPI.Photon.StateManager.Test.Get.ByViewerIdTest 2✅ 122ms
DragaliaAPI.Photon.StateManager.Test.Get.GameListTest 2✅ 103ms
DragaliaAPI.Photon.StateManager.Test.Get.IsHostTest 3✅ 105ms

✅ DragaliaAPI.Photon.StateManager.Test.Event.EntryConditionsTest

✅ EntryConditions_Unauthenticated_Returns401
✅ EntryConditions_UpdatesEntryConditions

✅ DragaliaAPI.Photon.StateManager.Test.Event.GameCloseTest

✅ GameClose_RemovesGame
✅ GameClose_Unauthenticated_Returns401

✅ DragaliaAPI.Photon.StateManager.Test.Event.GameCreateTest

✅ GameCreate_AddsHostAndStoresInRedis
✅ GameCreate_Unauthenticated_Returns401

✅ DragaliaAPI.Photon.StateManager.Test.Event.GameJoinTest

✅ GameJoin_AddsPlayerToList
✅ GameJoin_Unauthenticated_Returns401

✅ DragaliaAPI.Photon.StateManager.Test.Event.GameLeaveTest

✅ GameLeave_LastPlayer_RemovesPlayerFromGame_SetsVisibleFalse
✅ GameLeave_RemovesPlayerFromGame
✅ GameLeave_Unauthenticated_Returns401

✅ DragaliaAPI.Photon.StateManager.Test.Event.MatchingTypeTest

✅ MatchingType_Unauthenticated_Returns401
✅ MatchingType_UpdatesMatchingType

✅ DragaliaAPI.Photon.StateManager.Test.Event.RoomIdTest

✅ RoomId_SetsRoomId

✅ DragaliaAPI.Photon.StateManager.Test.Event.VisibleTest

✅ Visible_SetsGameVisible(visibility: False)
✅ Visible_SetsGameVisible(visibility: True)

✅ DragaliaAPI.Photon.StateManager.Test.Get.ByIdTest

✅ ById_NotFound_Returns404
✅ ById_ReturnsGame

✅ DragaliaAPI.Photon.StateManager.Test.Get.ByViewerIdTest

✅ ByViewerId_Found_ReturnsGame
✅ ByViewerId_NotFound_Returns404

✅ DragaliaAPI.Photon.StateManager.Test.Get.GameListTest

✅ GameList_GetsVisibleAndOpenGames
✅ GameList_QuestIdSpecified_FiltersByQuest

✅ DragaliaAPI.Photon.StateManager.Test.Get.IsHostTest

✅ IsHost_HostFound_ReturnsTrue
✅ IsHost_IngameButNotHost_ReturnsFalse
✅ IsHost_NotInGame_ReturnsFalse