public async Task TestSeedDataAndUserCheckTenants() { //SETUP //ATTEMPT await _serviceProvider.CheckSeedDataAndUserAsync(); //VERIFY var companyContext = _serviceProvider.GetRequiredService <CompanyDbContext>(); { var display = companyContext.Tenants.IgnoreQueryFilters().Select(x => x.ToString()).ToList(); foreach (var line in display) { _output.WriteLine($"\"{line}\","); } display.ShouldEqual(new List <string> { "Company: Name = 4U Inc., DataKey = 1|", "SubGroup: Name = West Coast, DataKey = 1|2|", "RetailOutlet: Name = LA Tie4U, DataKey = 1|2|3*", "SubGroup: Name = East Coast, DataKey = 1|4|", "RetailOutlet: Name = NY Dress4U, DataKey = 1|4|5*", "Company: Name = Pets2 Ltd., DataKey = 6|", "RetailOutlet: Name = Cats Place, DataKey = 6|7*", "RetailOutlet: Name = Kitten Place, DataKey = 6|8*", }); } }