using Centron.BusinessLogic; using Centron.BusinessLogic.WebServices.Buying.External; using Centron.Tests.EndToEnd.Infrastructure; using Xunit.Abstractions; namespace Centron.Tests.EndToEnd.TicketTests.Ticket121331 { public class Ticket121331Test : EndToEndTest { public Ticket121331Test(ITestOutputHelper testOutputHelper) : base(testOutputHelper) { } public override void Execute() { // In the ticket 121331, the customer didn't see all Distributors (table Hersteller) in the article-search // The Distributor-List came from DistributorWebServiceBL.GetAllDistributors() // Turns out it was broken because of this issue in NHibernate (see https://github.com/nhibernate/nhibernate-core/issues/2772) using (var session = new BLSession()) { var distributors = session.GetBL().GetAllDistributors(); this.Verifier.Verify("AllDistributors", distributors); } } } }