Add the hero requests and calls #433
❌️ 2019.4.40f1-playmode Test Results - 32/46, skipped: 10, failed: 4 - Failed in 30.060s
❌️ playmode-results.xml - 32/46, skipped: 10, failed: 4 - Failed in 30.060s
Details
❌️ playmode-results.xml - 32/46, skipped: 10, failed: 4 - Failed in 30.060s
-
❌️ Tests.AppleSignInTests - 0/4, skipped: 2, failed: 2 - Failed in 2.039s
-
⚠️ RefreshAppleSessionWhenSignedInSucceeds - Skipped -
❌️ RefreshAppleSessionWithInvalidTokenFails - Failed in 0.998s
Response code wrong, expected 400 but was 401
Expected: 400
But was: 401SDK is Initializing SDK is Initializing SDK is Initialized Caller Type: User ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/game/session/apple REQUEST BODY = {"game_key":"\"dev*******************************5f\"","refresh_token":"invalid-token","game_version":"0.0.0.1"} Server Response: 401 session/apple completed in 0.8128 secs. Response: {"message":"Could not start apple session","request_id":"8f791441-3670-4f11-85ec-04cfe05a0c96","trace_id":"cba5b2afad2fec85753d7b474aae4631"} Unauthorized -- Your session_token is invalid {"message":"Could not start apple session","request_id":"8f791441-3670-4f11-85ec-04cfe05a0c96","trace_id":"cba5b2afad2fec85753d7b474aae4631"} at Tests.AppleSignInTests+<RefreshAppleSessionWithInvalidTokenFails>d__4.MoveNext () [0x00095] in tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs:54 at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
-
⚠️ StartAppleSessionSucceedsAndProvidesRefreshToken - Skipped -
❌️ StartAppleSessionWithInvalidAuthorizationCodeFails - Failed in 1.040s
Failed Sign In
Expected: 400
But was: 401Caller Type: User ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/game/session/apple REQUEST BODY = {"game_key":"\"dev*******************************5f\"","apple_authorization_code":"invalid_auth_code","game_version":"0.0.0.1"} Server Response: 401 session/apple completed in 1.0153 secs. Response: {"message":"Could not start apple session","request_id":"f3516106-2727-414a-9c2e-23b57f34433d","trace_id":"4b63da900a21236ae7d04627f78cdefb"} Unauthorized -- Your session_token is invalid {"message":"Could not start apple session","request_id":"f3516106-2727-414a-9c2e-23b57f34433d","trace_id":"4b63da900a21236ae7d04627f78cdefb"} at Tests.AppleSignInTests+<StartAppleSessionWithInvalidAuthorizationCodeFails>d__7.MoveNext () [0x00095] in tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs:140 at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
-
-
⚠️ Tests.GoogleSignInTests - 0/4, skipped: 4 - Passed in 0.000s⚠️ RefreshGoogleSessionWhenSignedInSucceeds - Skipped⚠️ RefreshGoogleSessionWithInvalidTokenFails - Skipped⚠️ StartGoogleSessionSucceedsAndProvidesRefreshToken - Skipped⚠️ StartGoogleSessionWithInvalidAuthorizationCodeFails - Skipped
-
✅ Tests.GuestLoginTest - 1/1 - Passed in 1.430s
- ✅ GuestUserCanLogIn - Passed in 1.430s
-
✅ Tests.JsonTests - 10/10 - Passed in 0.065s
- ✅ JsonTestsSimplePasses - Passed in 0.017s
- ✅ SDKCanDeserializeComplexArrayObjectsJson - Passed in 0.017s
- ✅ SDKCanDeserializeJson - Passed in 0.001s
- ✅ SDKCanDeserializeMultidimensionalArrayObjectsJson - Passed in 0.001s
- ✅ SDKCanSerializeJson - Passed in 0.001s
- ✅ SDKCanSerializeMultidimensionalArrayObjectsJson - Passed in 0.001s
- ✅ TestCyclic - Passed in 0.004s
- ✅ TestCyclicCustom - Passed in 0.002s
- ✅ TestDictionary - Passed in 0.018s
- ✅ TestList - Passed in 0.002s
-
✅ Tests.PingTest - 1/1 - Passed in 1.925s
- ✅ BackendCanBePinged - Passed in 1.925s
-
✅ Tests.PlayerFilesTests - 1/1 - Passed in 5.919s
- ✅ PlayerFileCanBeCreatedWithPathUpdatedAndThenDeleted - Passed in 5.919s
-
✅ Tests.PlayerHandlingTests - 1/1 - Passed in 1.383s
- ✅ PlayerCanBeCreatedAndDeleted - Passed in 1.383s
-
✅ Tests.RateLimiterTests - 11/11 - Passed in 0.541s
- ✅ AfterHavingBeenSetOffTheRateLimitingCancelsAfter3Minutes - Passed in 0.064s
- ✅ ConstantRequestsBelowTripWireStillHitsMovingAverageRateLimit - Passed in 0.029s
- ✅ ExcessiveQuickSuccessionRequestsHitsTripwireRateLimit - Passed in 0.044s
- ✅ FrequentSmallBurstsDoesNotHitRateLimit - Passed in 0.022s
- ✅ InfrequentLargeBurstsDoesNotHitRateLimit - Passed in 0.022s
- ✅ LowLevelBackgroundRequestsWithIntermittentBurstsHitsRateLimit - Passed in 0.061s
- ✅ NormalAmountOfAverageRequestsDoesNotHitRateLimit - Passed in 0.022s
- ✅ SuddenHugeBurstAboveLimitTriggersRateLimit - Passed in 0.113s
- ✅ SuddenHugeBurstBelowLimitDoesNotTriggerRateLimit - Passed in 0.023s
- ✅ SuddenHugeBurstBelowLimitFollowedByAFewRequestsTriggersRateLimit - Passed in 0.117s
- ✅ UndulatingLowLevelOfRequestsDoesNotHitRateLimit - Passed in 0.022s
-
✅ Tests.RefreshTests - 2/2 - Passed in 6.720s
- ✅ SDKAutomaticallyRefreshesExpiredSessionWhenEnabled - Passed in 4.084s
- ✅ SDKDoesNotAutomaticallyRefreshesExpiredSessionWhenDisabled - Passed in 2.636s
-
⚠️ Tests.SubmitScoresWithGuestLogin - 0/1, skipped: 1 - Passed in 0.000s⚠️ TestResponsesAreAsExpectedForAllLeaderboardsAndPlayers - Skipped
-
❌️ Tests.WhiteLabelLoginTests - 5/10, skipped: 3, failed: 2 - Failed in 9.938s
⚠️ RequestEmailVerificationByEmailSucceeds - Skipped⚠️ RequestEmailVerificationSucceeds - Skipped- ✅ RequestPasswordResetSucceeds - Passed in 0.670s
- ✅ WhiteLabelCheckSessionFailsWhenNoSessionExists - Passed in 0.023s
- ✅ WhiteLabelCheckSessionSucceeds - Passed in 2.906s
- ✅ WhiteLabelCheckSessionWithEmailAndTokenSucceeds - Passed in 2.573s
- ✅ WhiteLabelCheckSessionWithWrongEmailFails - Passed in 2.614s
- ❌️ WhiteLabelLoginAndSessionStartFromSavedStateSucceeds - Failed in 0.574s
- ❌️ WhiteLabelLoginAndStartSessionSucceeds - Failed in 0.578s
⚠️ WhiteLabelSignUpSucceeds - Skipped
Annotations
Check failure on line 54 in tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs
github-actions / 2019.4.40f1-playmode Test Results
Tests.AppleSignInTests.RefreshAppleSessionWithInvalidTokenFails
Response code wrong, expected 400 but was 401
Expected: 400
But was: 401
Raw output
SDK is Initializing
SDK is Initializing
SDK is Initialized
Caller Type: User
ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/game/session/apple
REQUEST BODY = {"game_key":"\"dev*******************************5f\"","refresh_token":"invalid-token","game_version":"0.0.0.1"}
Server Response: 401 session/apple completed in 0.8128 secs.
Response: {"message":"Could not start apple session","request_id":"8f791441-3670-4f11-85ec-04cfe05a0c96","trace_id":"cba5b2afad2fec85753d7b474aae4631"}
Unauthorized -- Your session_token is invalid {"message":"Could not start apple session","request_id":"8f791441-3670-4f11-85ec-04cfe05a0c96","trace_id":"cba5b2afad2fec85753d7b474aae4631"}
at Tests.AppleSignInTests+<RefreshAppleSessionWithInvalidTokenFails>d__4.MoveNext () [0x00095] in /github/workspace/tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs:54
at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in /github/workspace/tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
Check failure on line 140 in tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs
github-actions / 2019.4.40f1-playmode Test Results
Tests.AppleSignInTests.StartAppleSessionWithInvalidAuthorizationCodeFails
Failed Sign In
Expected: 400
But was: 401
Raw output
Caller Type: User
ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/game/session/apple
REQUEST BODY = {"game_key":"\"dev*******************************5f\"","apple_authorization_code":"invalid_auth_code","game_version":"0.0.0.1"}
Server Response: 401 session/apple completed in 1.0153 secs.
Response: {"message":"Could not start apple session","request_id":"f3516106-2727-414a-9c2e-23b57f34433d","trace_id":"4b63da900a21236ae7d04627f78cdefb"}
Unauthorized -- Your session_token is invalid {"message":"Could not start apple session","request_id":"f3516106-2727-414a-9c2e-23b57f34433d","trace_id":"4b63da900a21236ae7d04627f78cdefb"}
at Tests.AppleSignInTests+<StartAppleSessionWithInvalidAuthorizationCodeFails>d__7.MoveNext () [0x00095] in /github/workspace/tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs:140
at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in /github/workspace/tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46