public async Task UpdateSpecificUser() { var googleAuthenticatorService = new AuthenticationGoogle(); var userTable = new UsersTable(); await googleAuthenticatorService.LoginGoogle(_testUsername); var user = googleAuthenticatorService.GetCurrentUser(); userTable.InsertRow(user); var updatedUser = AuthenticationGoogle.GetSpecificUser(_testUsername); Assert.AreNotEqual(user.expireDate, updatedUser.expireDate); }
public async Task GoogleAuthentication() { var googleAuthenticatorService = new AuthenticationGoogle(); await googleAuthenticatorService.LoginGoogle(_testUsername); Assert.IsNotNull(googleAuthenticatorService.GetCurrentUser()); }