diff --git a/SeatsioDotNet.Test/ChartReports/ChartReportsTest.cs b/SeatsioDotNet.Test/ChartReports/ChartReportsTest.cs index 560f055..7c96096 100644 --- a/SeatsioDotNet.Test/ChartReports/ChartReportsTest.cs +++ b/SeatsioDotNet.Test/ChartReports/ChartReportsTest.cs @@ -23,6 +23,8 @@ public void ReportItemProperties() Assert.Null(reportItem.Section); Assert.Null(reportItem.Entrance); Assert.Null(reportItem.Capacity); + Assert.Null(reportItem.LeftNeighbour); + Assert.Equal("A-2", reportItem.RightNeighbour); } [Fact] diff --git a/SeatsioDotNet.Test/EventReports/EventReportsTest.cs b/SeatsioDotNet.Test/EventReports/EventReportsTest.cs index 5c26ac8..af3505f 100644 --- a/SeatsioDotNet.Test/EventReports/EventReportsTest.cs +++ b/SeatsioDotNet.Test/EventReports/EventReportsTest.cs @@ -37,6 +37,8 @@ public void ReportItemProperties() Assert.False(reportItem.IsCompanionSeat); Assert.False(reportItem.HasRestrictedView); Assert.Null(reportItem.DisplayedObjectType); + Assert.Null(reportItem.LeftNeighbour); + Assert.Equal("A-2", reportItem.RightNeighbour); } [Fact] diff --git a/SeatsioDotNet.Test/Events/ChangeBestAvailableObjectStatusTest.cs b/SeatsioDotNet.Test/Events/ChangeBestAvailableObjectStatusTest.cs index e77abaa..b5118cf 100644 --- a/SeatsioDotNet.Test/Events/ChangeBestAvailableObjectStatusTest.cs +++ b/SeatsioDotNet.Test/Events/ChangeBestAvailableObjectStatusTest.cs @@ -41,6 +41,8 @@ public void ObjectDetails() Assert.Null(reportItem.Entrance); Assert.Null(reportItem.NumBooked); Assert.Null(reportItem.Capacity); + Assert.Equal("B-3", reportItem.LeftNeighbour); + Assert.Equal("B-5", reportItem.RightNeighbour); } [Fact] diff --git a/SeatsioDotNet.Test/Events/ChangeObjectStatusTest.cs b/SeatsioDotNet.Test/Events/ChangeObjectStatusTest.cs index d8ff0f9..c16b27f 100644 --- a/SeatsioDotNet.Test/Events/ChangeObjectStatusTest.cs +++ b/SeatsioDotNet.Test/Events/ChangeObjectStatusTest.cs @@ -35,6 +35,8 @@ public void Test() Assert.Null(reportItem.Entrance); Assert.Null(reportItem.NumBooked); Assert.Null(reportItem.Capacity); + Assert.Null(reportItem.LeftNeighbour); + Assert.Equal("A-2", reportItem.RightNeighbour); } [Fact] diff --git a/SeatsioDotNet/ChartReports/ChartReportItem.cs b/SeatsioDotNet/ChartReports/ChartReportItem.cs index 8072142..d414acf 100644 --- a/SeatsioDotNet/ChartReports/ChartReportItem.cs +++ b/SeatsioDotNet/ChartReports/ChartReportItem.cs @@ -12,5 +12,7 @@ public class ChartReportItem public string Section { get; set; } public string Entrance { get; set; } public int? Capacity { get; set; } + public string LeftNeighbour { get; set; } + public string RightNeighbour { get; set; } } } \ No newline at end of file diff --git a/SeatsioDotNet/EventReports/EventReportItem.cs b/SeatsioDotNet/EventReports/EventReportItem.cs index 3794860..17e95d6 100644 --- a/SeatsioDotNet/EventReports/EventReportItem.cs +++ b/SeatsioDotNet/EventReports/EventReportItem.cs @@ -26,5 +26,7 @@ public class EventReportItem public bool? IsCompanionSeat { get; set; } public bool? HasRestrictedView { get; set; } public string DisplayedObjectType { get; set; } + public string LeftNeighbour { get; set; } + public string RightNeighbour { get; set; } } } \ No newline at end of file diff --git a/SeatsioDotNet/SeatsioDotNet.csproj b/SeatsioDotNet/SeatsioDotNet.csproj index 42cc9b1..1a65ea6 100644 --- a/SeatsioDotNet/SeatsioDotNet.csproj +++ b/SeatsioDotNet/SeatsioDotNet.csproj @@ -2,7 +2,7 @@ Library true - 70.3.0 + 70.4.0 mroloux;bverbeken Official Seats.io .NET API client Official Seats.io .NET API client