@@ -38,6 +38,7 @@ public void fullSerializationTest() throws IOException
3838 .customBasemap ("customBaseMap" ).defaultBasemap (23 )
3939 .defaultBasemapId ("defaultBaseMap" ).defaultPriority (ChallengePriority .LOW )
4040 .defaultZoom (17 ).difficulty (ChallengeDifficulty .EXPERT ).enabled (true ).featured (true )
41+ .preferredTags ("#tag1,#tag2" ).preferredReviewTags ("#reviewTag1,#reviewTag2" )
4142 .id (1234L ).maxZoom (2 ).minZoom (3 ).build ();
4243
4344 final var serializedString = this .mapper .writeValueAsString (full );
@@ -64,6 +65,9 @@ public void fullSerializationTest() throws IOException
6465 Assertions .assertEquals (full .getMaxZoom (), deserializedChallenge .getMaxZoom ());
6566 Assertions .assertEquals (full .getMinZoom (), deserializedChallenge .getMinZoom ());
6667 Assertions .assertEquals (full .getParent (), deserializedChallenge .getParent ());
68+ Assertions .assertEquals (full .getPreferredTags (), deserializedChallenge .getPreferredTags ());
69+ Assertions .assertEquals (full .getPreferredReviewTags (),
70+ deserializedChallenge .getPreferredReviewTags ());
6771 }
6872
6973 @ Test
@@ -177,6 +181,9 @@ public void serializationTest() throws Exception
177181 Assertions .assertNotNull (deserializedChallenge .getMediumPriorityRule ());
178182 Assertions .assertEquals (mediumPriority , deserializedChallenge .getMediumPriorityRule ());
179183 Assertions .assertEquals (lowPriority , deserializedChallenge .getLowPriorityRule ());
184+ Assertions .assertEquals ("#tag1,#tag2" , deserializedChallenge .getPreferredTags ());
185+ Assertions .assertEquals ("#reviewTag1,#reviewTag2" ,
186+ deserializedChallenge .getPreferredReviewTags ());
180187 }
181188
182189 /**
0 commit comments