From 0f003d829054e23faa2eb5a19a8918c53d8a9a2d Mon Sep 17 00:00:00 2001 From: mroloux Date: Wed, 29 May 2024 11:07:55 +0200 Subject: [PATCH] Exposed venue type (#180) --- src/main/java/seatsio/charts/Chart.java | 1 + src/test/java/seatsio/charts/ListChartsTest.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/main/java/seatsio/charts/Chart.java b/src/main/java/seatsio/charts/Chart.java index 7096ea5..0df6907 100644 --- a/src/main/java/seatsio/charts/Chart.java +++ b/src/main/java/seatsio/charts/Chart.java @@ -18,4 +18,5 @@ public class Chart extends ValueObject { public List events; public boolean archived; public ChartValidationResult validation; + public String venueType; } diff --git a/src/test/java/seatsio/charts/ListChartsTest.java b/src/test/java/seatsio/charts/ListChartsTest.java index 96df738..11ef56a 100644 --- a/src/test/java/seatsio/charts/ListChartsTest.java +++ b/src/test/java/seatsio/charts/ListChartsTest.java @@ -114,6 +114,8 @@ public void listChartsWithValidationTest() { assertThat(charts.get(0).validation.warnings) .isEqualTo(Arrays.asList()); + + assertThat(charts.get(0).venueType).isEqualTo("ROWS_WITHOUT_SECTIONS"); } @Test