File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
avro/src/test/java/com/fasterxml/jackson/dataformat/avro/schema Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,7 @@ static class Wrapper422 {
3636 public void testEnumSchemaGeneration422 () throws Exception
3737 {
3838 // First, failure due to invalid enum value (when generating as Enum)
39- AvroSchemaGenerator gen = new AvroSchemaGenerator ()
40- .enableLogicalTypes ();
39+ AvroSchemaGenerator gen = new AvroSchemaGenerator ();
4140 try {
4241 MAPPER .acceptJsonFormatVisitor (Wrapper422 .class , gen );
4342 fail ("Expected failure" );
@@ -49,7 +48,6 @@ public void testEnumSchemaGeneration422() throws Exception
4948 // But then success when configuring to produce Strings for Enum types
5049
5150 gen = new AvroSchemaGenerator ()
52- .enableLogicalTypes ()
5351 .enableWriteEnumAsString ();
5452 MAPPER .acceptJsonFormatVisitor (Wrapper422 .class , gen );
5553
You can’t perform that action at this time.
0 commit comments