File tree 1 file changed +1
-3
lines changed
avro/src/test/java/com/fasterxml/jackson/dataformat/avro/schema
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,7 @@ static class Wrapper422 {
36
36
public void testEnumSchemaGeneration422 () throws Exception
37
37
{
38
38
// First, failure due to invalid enum value (when generating as Enum)
39
- AvroSchemaGenerator gen = new AvroSchemaGenerator ()
40
- .enableLogicalTypes ();
39
+ AvroSchemaGenerator gen = new AvroSchemaGenerator ();
41
40
try {
42
41
MAPPER .acceptJsonFormatVisitor (Wrapper422 .class , gen );
43
42
fail ("Expected failure" );
@@ -49,7 +48,6 @@ public void testEnumSchemaGeneration422() throws Exception
49
48
// But then success when configuring to produce Strings for Enum types
50
49
51
50
gen = new AvroSchemaGenerator ()
52
- .enableLogicalTypes ()
53
51
.enableWriteEnumAsString ();
54
52
MAPPER .acceptJsonFormatVisitor (Wrapper422 .class , gen );
55
53
You can’t perform that action at this time.
0 commit comments