From d017e2bb64e91d4041351ffc09f6cb2eb891471f Mon Sep 17 00:00:00 2001 From: likanug Date: Wed, 4 Jun 2025 19:08:03 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0AgileBootConfigTest?= =?UTF-8?q?=E5=8D=95=E5=85=83=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/agileboot/admin/config/AgileBootConfigTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agileboot-admin/src/test/java/com/agileboot/admin/config/AgileBootConfigTest.java b/agileboot-admin/src/test/java/com/agileboot/admin/config/AgileBootConfigTest.java index 52dd503..f739664 100644 --- a/agileboot-admin/src/test/java/com/agileboot/admin/config/AgileBootConfigTest.java +++ b/agileboot-admin/src/test/java/com/agileboot/admin/config/AgileBootConfigTest.java @@ -24,9 +24,9 @@ public class AgileBootConfigTest { String fileBaseDir = "D:\\agileboot\\profile"; Assertions.assertEquals("AgileBoot", config.getName()); - Assertions.assertEquals("1.0.0", config.getVersion()); + Assertions.assertEquals("1.8.0", config.getVersion()); Assertions.assertEquals("2022", config.getCopyrightYear()); - Assertions.assertTrue(config.isDemoEnabled()); + Assertions.assertFalse(config.isDemoEnabled()); Assertions.assertEquals(fileBaseDir, AgileBootConfig.getFileBaseDir()); Assertions.assertFalse(AgileBootConfig.isAddressEnabled()); Assertions.assertEquals("math", AgileBootConfig.getCaptchaType()); From 2fa20aaaf348a65230dabb37ac9bb09ce4499b96 Mon Sep 17 00:00:00 2001 From: likanug Date: Wed, 4 Jun 2025 20:09:26 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0junit=E7=9A=84=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E4=BE=9D=E8=B5=96=E5=8F=8A=E7=89=88=E6=9C=AC=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E5=A4=8Dadmin=E6=A8=A1=E5=9D=97=E4=B8=ADmaven=20test?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E8=B7=91=E5=8D=95=E5=85=83=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=97=B6=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agileboot-admin/pom.xml | 9 +++++++++ agileboot-common/pom.xml | 5 ----- pom.xml | 33 ++++++++++++++++++++++++++++++--- 3 files changed, 39 insertions(+), 8 deletions(-) diff --git a/agileboot-admin/pom.xml b/agileboot-admin/pom.xml index dfe4c01..d53826a 100644 --- a/agileboot-admin/pom.xml +++ b/agileboot-admin/pom.xml @@ -55,6 +55,15 @@ + + org.apache.maven.plugins + maven-surefire-plugin + ${maven.surefire.plugin.version} + + + false + + diff --git a/agileboot-common/pom.xml b/agileboot-common/pom.xml index b831f74..0f18a23 100644 --- a/agileboot-common/pom.xml +++ b/agileboot-common/pom.xml @@ -141,11 +141,6 @@ ip2region - - org.mockito - mockito-all - - it.ozimov embedded-redis diff --git a/pom.xml b/pom.xml index b832226..01074f2 100644 --- a/pom.xml +++ b/pom.xml @@ -36,7 +36,6 @@ 1.18.30 3.5.2 3.5.1 - 1.10.19 0.7.3 1.6.8 2.6.5 @@ -45,8 +44,13 @@ 8.0.31 2.7.10 3.1 - 2.5 + + 3.0.0-M7 3.1.0 + + 5.9.2 + + 4.11.0 @@ -217,13 +221,36 @@ provided + + + org.junit.jupiter + junit-jupiter-api + ${junit.jupiter.version} + test + + + org.junit.jupiter + junit-jupiter-engine + ${junit.jupiter.version} + test + + + org.mockito - mockito-all + mockito-core ${mockito.version} test + + + org.mockito + mockito-inline + ${mockito.version} + test + + it.ozimov