@@ -68,10 +68,9 @@ public void testCategoryTree() {
6868 }
6969
7070 @ Test
71- public void testGetLocalizedStringEntryCategoryMap ()
72- {
71+ public void testGetLocalizedStringEntryCategoryMap () {
7372 List <Category > allCategoriesAsFlatList = List .of (
74- Category .builder ()
73+ Category .builder ()
7574 .name (LocalizedString .of (Locale .forLanguageTag ("en-US" ), "Women" ))
7675 .slug (LocalizedString .of (Locale .forLanguageTag ("en-US" ), "women" ))
7776 .id ("1" )
@@ -80,27 +79,27 @@ public void testGetLocalizedStringEntryCategoryMap()
8079 .lastModifiedAt (ZonedDateTime .now ())
8180 .ancestors ()
8281 .orderHint ("c2" )
83- .build (),
84- Category .builder ()
85- .name (LocalizedString .of (Locale .forLanguageTag ("en" ), "Men" ))
86- .slug (LocalizedString .of (Locale .forLanguageTag ("en" ), "men" ))
87- .id ("2" )
88- .version (1L )
89- .createdAt (ZonedDateTime .now ())
90- .lastModifiedAt (ZonedDateTime .now ())
91- .ancestors ()
92- .orderHint ("c2" )
93- .build (),
94- Category .builder ()
95- .name (LocalizedString .of (Locale .forLanguageTag ("en-us" ), "Kids" ))
96- .slug (LocalizedString .of (Locale .forLanguageTag ("en-us" ), "kids" ))
97- .id ("3" )
98- .version (1L )
99- .createdAt (ZonedDateTime .now ())
100- .lastModifiedAt (ZonedDateTime .now ())
101- .ancestors ()
102- .orderHint ("c2" )
103- .build ());
82+ .build (),
83+ Category .builder ()
84+ .name (LocalizedString .of (Locale .forLanguageTag ("en" ), "Men" ))
85+ .slug (LocalizedString .of (Locale .forLanguageTag ("en" ), "men" ))
86+ .id ("2" )
87+ .version (1L )
88+ .createdAt (ZonedDateTime .now ())
89+ .lastModifiedAt (ZonedDateTime .now ())
90+ .ancestors ()
91+ .orderHint ("c2" )
92+ .build (),
93+ Category .builder ()
94+ .name (LocalizedString .of (Locale .forLanguageTag ("en-us" ), "Kids" ))
95+ .slug (LocalizedString .of (Locale .forLanguageTag ("en-us" ), "kids" ))
96+ .id ("3" )
97+ .version (1L )
98+ .createdAt (ZonedDateTime .now ())
99+ .lastModifiedAt (ZonedDateTime .now ())
100+ .ancestors ()
101+ .orderHint ("c2" )
102+ .build ());
104103 CategoryTreeFactory factory = CategoryTreeFactory .of ();
105104
106105 var tree = factory .create (allCategoriesAsFlatList );
0 commit comments