public async Task GetUserByName() { var user = await _userIdentity.GetUserByName("09384444636"); user.Id.Should().NotBe(Guid.Empty); user.UserName.Should().Be("09384444636"); }
public async Task Vendor_list_should_not_be_null() { ProfileService profileService = new ProfileService(); UserIdentity identity = new UserIdentity(); var user = await identity.GetUserByName("09384444636"); var userVendors = await profileService.GetUserService(user.Id); userVendors.Should().NotBeNull(); }