diff --git a/src/test/java/org/springframework/data/redis/PropertyEditorsIntegrationTests.java b/src/test/java/org/springframework/data/redis/PropertyEditorsIntegrationTests.java index fa00ba9d0..394bfb5b5 100644 --- a/src/test/java/org/springframework/data/redis/PropertyEditorsIntegrationTests.java +++ b/src/test/java/org/springframework/data/redis/PropertyEditorsIntegrationTests.java @@ -39,7 +39,7 @@ class PropertyEditorsIntegrationTests { @AfterEach void tearDown() { if (ctx != null) - ctx.destroy(); + ctx.close(); } @Test