public async void RequiresPlayerName() { var user = new GameUser() { Username = TestingHelpers.GetRandomUserEmail(), Password = "******" }; await user.SignUpAsync(); }
public async void UsernameAndEmailMustBeEqual() { var user = new GameUser() { Username = TestingHelpers.GetRandomUserEmail(), Email = TestingHelpers.GetRandomUserEmail(), Password = "******", PlayerName = "Test User" }; await user.SignUpAsync(); }
public async void SuccessfullyLogsAUserIn() { var email = TestingHelpers.GetRandomUserEmail(); var user = new GameUser() { Username = email, Email = email, Password = "******", PlayerName = "Test User" }; await user.SignUpAsync(); Assert.IsNotNull(ParseUser.CurrentUser); }
public async void Init() { TestingHelpers.InitParse(); ParseUser.LogOut(); }