using System.Collections.Generic; using Centron.BusinessLogic; using Centron.BusinessLogic.Sales.Support; using Centron.Tests.EndToEnd.Infrastructure; using Xunit.Abstractions; namespace Centron.Tests.EndToEnd.TicketTests.Ticket128113; public class Ticket128113Tests : EndToEndTest { public Ticket128113Tests(ITestOutputHelper testOutputHelper) : base(testOutputHelper) { } public const int HelpdeskI3D = 9441; public override void Execute() { this.PrepareDatabase(); using (var session = new BLSession()) { var result = session.GetBL().GetMasterDataListI3DsFromHelpdesks(new List { HelpdeskI3D }); this.Verifier.Verify("DeviceLinks", result); } } private void PrepareDatabase() { this.Sql($@"UPDATE dbo.HlpDsk_Geraete SET GeraeteKopfI3D = NULL WHERE HlpDskI3D = {HelpdeskI3D}"); } }