From 1acaa1380160b6fdef26e08e359db882fb37e43d Mon Sep 17 00:00:00 2001 From: Tatu Saloranta Date: Mon, 6 Jan 2025 15:16:59 -0800 Subject: [PATCH] Minor post-merge cleanup wrt test for #422 --- .../jackson/dataformat/avro/schema/EnumSchema422Test.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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);