From abfc7d70578d649c36cea9082ea8a63d66704d45 Mon Sep 17 00:00:00 2001 From: Antoine Rey Date: Wed, 9 Oct 2024 22:29:47 +0200 Subject: [PATCH] Fix ClinicServiceTests --- .../samples/petclinic/service/ClinicServiceTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceTests.java b/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceTests.java index db61d9dd..d15fcea5 100644 --- a/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceTests.java +++ b/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceTests.java @@ -67,7 +67,7 @@ * @author Michael Isvy * @author Dave Syer */ -@DataJpaTest(includeFilters = @ComponentScan.Filter(Service.class)) +@DataJpaTest // Ensure that if the mysql profile is active we connect to the real database: @AutoConfigureTestDatabase(replace = Replace.NONE) // @TestPropertySource("/application-postgres.properties")