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