File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
avro/src/test/java/tools/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 @@ -37,8 +37,7 @@ static class Wrapper422 {
3737 public void testEnumSchemaGeneration422 () throws Exception
3838 {
3939 // First, failure due to invalid enum value (when generating as Enum)
40- AvroSchemaGenerator gen = new AvroSchemaGenerator ()
41- .enableLogicalTypes ();
40+ AvroSchemaGenerator gen = new AvroSchemaGenerator ();
4241 try {
4342 MAPPER .acceptJsonFormatVisitor (Wrapper422 .class , gen );
4443 fail ("Expected failure" );
@@ -50,7 +49,6 @@ public void testEnumSchemaGeneration422() throws Exception
5049 // But then success when configuring to produce Strings for Enum types
5150
5251 gen = new AvroSchemaGenerator ()
53- .enableLogicalTypes ()
5452 .enableWriteEnumAsString ();
5553 MAPPER .acceptJsonFormatVisitor (Wrapper422 .class , gen );
5654
You can’t perform that action at this time.
0 commit comments