diff --git a/avro/src/test/java/com/fasterxml/jackson/dataformat/avro/schema/EnumSchema422Test.java b/avro/src/test/java/com/fasterxml/jackson/dataformat/avro/schema/EnumSchema422Test.java index 31aad6d22..819fe0e28 100644 --- a/avro/src/test/java/com/fasterxml/jackson/dataformat/avro/schema/EnumSchema422Test.java +++ b/avro/src/test/java/com/fasterxml/jackson/dataformat/avro/schema/EnumSchema422Test.java @@ -36,8 +36,7 @@ static class Wrapper422 { public void testEnumSchemaGeneration422() throws Exception { // First, failure due to invalid enum value (when generating as Enum) - AvroSchemaGenerator gen = new AvroSchemaGenerator() - .enableLogicalTypes(); + AvroSchemaGenerator gen = new AvroSchemaGenerator(); try { MAPPER.acceptJsonFormatVisitor(Wrapper422.class, gen); fail("Expected failure"); @@ -49,7 +48,6 @@ public void testEnumSchemaGeneration422() throws Exception // But then success when configuring to produce Strings for Enum types gen = new AvroSchemaGenerator() - .enableLogicalTypes() .enableWriteEnumAsString(); MAPPER.acceptJsonFormatVisitor(Wrapper422.class, gen);