From 483043446bdfd23691895ab567731ec50e3ca045 Mon Sep 17 00:00:00 2001 From: maning <3297813122@qq.com> Date: Fri, 6 Dec 2024 11:16:25 +0800 Subject: [PATCH] =?UTF-8?q?test-core-=E6=9B=B4=E6=96=B0QuarkusTest?= =?UTF-8?q?=E6=B3=A8=E8=A7=A3=EF=BC=8C=E6=8F=90=E5=8D=87=E5=8D=95=E5=85=83?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=BF=90=E8=A1=8C=E6=95=88=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ximatai/muyun/test/database/TestDatabaseOperations.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/muyun-boot/src/test/java/net/ximatai/muyun/test/database/TestDatabaseOperations.java b/muyun-boot/src/test/java/net/ximatai/muyun/test/database/TestDatabaseOperations.java index c6850a6..71ad811 100644 --- a/muyun-boot/src/test/java/net/ximatai/muyun/test/database/TestDatabaseOperations.java +++ b/muyun-boot/src/test/java/net/ximatai/muyun/test/database/TestDatabaseOperations.java @@ -6,6 +6,7 @@ import net.ximatai.muyun.database.IDatabaseOperationsStd; import net.ximatai.muyun.database.builder.TableBuilder; import net.ximatai.muyun.database.builder.TableWrapper; +import net.ximatai.muyun.test.testcontainers.PostgresTestResource; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; @@ -19,7 +20,7 @@ @QuarkusTest @TestInstance(TestInstance.Lifecycle.PER_CLASS) -@QuarkusTestResource(value = PostgresTestResource3.class, restrictToAnnotatedClass = true) +@QuarkusTestResource(value = PostgresTestResource.class) public class TestDatabaseOperations { @Inject