Skip to content

Commit b55e31f

Browse files
authored
Merge pull request #245 from 0xsequence/Fix/fasterFederateAuthTest
Add a random number to the beginning instead of 'a' so that we have t…
2 parents 0969d2d + e715908 commit b55e31f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Assets/SequenceSDK/WaaS/Tests/WaaSFederatedAuthTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using PlayFab.ClientModels;
66
using Sequence.EmbeddedWallet;
77
using UnityEngine;
8+
using Random = UnityEngine.Random;
89

910
namespace Sequence.EmbeddedWallet.Tests
1011
{
@@ -86,7 +87,7 @@ private void RetryIfAlreadyLinked(string error)
8687
{
8788
if (error.Contains("AccountAlreadyLinked"))
8889
{
89-
_email = "a" + _email;
90+
_email = Random.Range(0, 9999999).ToString() + _email;
9091
var request = new LoginWithEmailAddressRequest
9192
{
9293
Email = _email,

0 commit comments

Comments
 (0)