public async Task AddToTeamAsync_UserFound_ReturnsSuccessResult() { var sut = new UserManagerService(TestUserManager.GetSuccessfulManager()); var result = await sut.AddToTeamAsync(string.Empty, int.MaxValue); result.Succeeded.Should().BeTrue(); }
public async Task CreateUserAsync_Successful_ReturnsSuccessResult() { var sut = new UserManagerService(TestUserManager.GetSuccessfulManager()); var(result, _) = await sut.CreateAsync(string.Empty, string.Empty, int.MaxValue); result.Succeeded.Should().BeTrue(); }