Commit 0fe8dd4312874d0a4092f7a4b35a3fc0cedaedb0

Authored by YunaiV
1 parent c3523cd0

chore: 统一管理 H2 测试依赖版本

Showing 1 changed file with 7 additions and 0 deletions
yudao-dependencies/pom.xml
... ... @@ -42,6 +42,7 @@
42 42 <spring-boot-admin.version>3.5.9</spring-boot-admin.version>
43 43 <opentelemetry.version>1.39.0</opentelemetry.version>
44 44 <!-- Test 测试相关 -->
  45 + <h2.version>2.3.232</h2.version>
45 46 <podam.version>8.0.2.RELEASE</podam.version>
46 47 <jedis-mock.version>1.1.15</jedis-mock.version>
47 48 <mockito-inline.version>5.2.0</mockito-inline.version>
... ... @@ -422,6 +423,12 @@
422 423 </dependency>
423 424  
424 425 <dependency>
  426 + <groupId>com.h2database</groupId>
  427 + <artifactId>h2</artifactId>
  428 + <version>${h2.version}</version>
  429 + </dependency>
  430 +
  431 + <dependency>
425 432 <groupId>com.github.fppt</groupId> <!-- 单元测试,我们采用内嵌的 Redis 数据库 -->
426 433 <artifactId>jedis-mock</artifactId>
427 434 <version>${jedis-mock.version}</version>
... ...