test: add integration tests for operation log
- Add R2DBC database initialization configuration - Fix schema-h2.sql Chinese comments issue - Add spring-security-test dependency - Create comprehensive integration tests for operation log - Tests cover create, delete, and error scenarios Closes #2
This commit is contained in:
@@ -7,7 +7,7 @@ spring:
|
||||
r2dbc:
|
||||
url: r2dbc:h2:mem:///testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
|
||||
username: sa
|
||||
password:
|
||||
password:
|
||||
pool:
|
||||
initial-size: 5
|
||||
max-size: 20
|
||||
@@ -17,15 +17,10 @@ spring:
|
||||
datasource:
|
||||
url: jdbc:h2:mem:///testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
|
||||
username: sa
|
||||
password:
|
||||
password:
|
||||
driver-class-name: org.h2.Driver
|
||||
flyway:
|
||||
enabled: false
|
||||
sql:
|
||||
init:
|
||||
mode: always
|
||||
schema-locations: classpath:schema-h2.sql
|
||||
data-locations: classpath:data-h2.sql
|
||||
h2:
|
||||
console:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user