We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94d5797 commit 8c07af1Copy full SHA for 8c07af1
src/test/java/tools/jackson/dataformat/xml/stream/XmlGeneratorTest.java
@@ -8,13 +8,16 @@
8
9
import tools.jackson.dataformat.xml.XmlMapper;
10
import tools.jackson.dataformat.xml.XmlTestUtil;
11
+import tools.jackson.dataformat.xml.XmlWriteFeature;
12
import tools.jackson.dataformat.xml.ser.ToXmlGenerator;
13
14
import static org.junit.jupiter.api.Assertions.assertEquals;
15
16
public class XmlGeneratorTest extends XmlTestUtil
17
{
- private final XmlMapper MAPPER = xmlMapper(true);
18
+ private final XmlMapper MAPPER = mapperBuilder(true)
19
+ .disable(XmlWriteFeature.WRITE_NULLS_AS_XSI_NIL)
20
+ .build();
21
22
@Test
23
public void testSimpleElement() throws Exception
0 commit comments