test: 使用 H2 验证可用库存查询

This commit is contained in:
zhouz
2026-07-22 14:42:58 +08:00
parent 3d180b4948
commit 2e87bf70aa
4 changed files with 179 additions and 78 deletions

View File

@@ -129,6 +129,18 @@
<groupId>cn.nl.cloud</groupId>
<artifactId>nl-spring-boot-starter-monitor</artifactId>
</dependency>
<!-- Test 测试相关 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>