Skip to content

Commit fd09c48

Browse files
Unit test updated check for fix as per issue - #5
1 parent 596ebe0 commit fd09c48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/accelerate/commons/util/JacksonUtilsTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ void testToJSONSelectFields() {
161161
*/
162162
@Test
163163
void testToXMLSelectFields() {
164-
assertTrue(true, "https://github.com/FasterXML/jackson-dataformat-xml/issues/351");
164+
assertThat(JacksonUtils.toXMLSelectFields(testBean, BEAN_ID_FIELD)).doesNotContain(BEAN_NAME_FIELD)
165+
.contains(BEAN_ID_FIELD + "=\"");
165166
}
166167

167168
/**

0 commit comments

Comments
 (0)