mirror of
https://github.com/iflytek/skillhub.git
synced 2026-10-09 03:17:52 +00:00
test(auth): select dialect per identity database
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
This commit is contained in:
parent
4108107c21
commit
a180ea9acb
3 changed files with 9 additions and 0 deletions
|
|
@ -68,6 +68,9 @@ class IdentityBindingV2PostgresIntegrationTest {
|
|||
registry.add(
|
||||
"spring.jpa.database-platform",
|
||||
() -> "org.hibernate.dialect.PostgreSQLDialect");
|
||||
registry.add(
|
||||
"spring.jpa.properties.hibernate.dialect",
|
||||
() -> "org.hibernate.dialect.PostgreSQLDialect");
|
||||
registry.add(
|
||||
"spring.jpa.hibernate.ddl-auto",
|
||||
() -> "validate");
|
||||
|
|
|
|||
|
|
@ -84,6 +84,9 @@ class IdentityProfileProvisioningPostgresIntegrationTest {
|
|||
registry.add(
|
||||
"spring.jpa.database-platform",
|
||||
() -> "org.hibernate.dialect.PostgreSQLDialect");
|
||||
registry.add(
|
||||
"spring.jpa.properties.hibernate.dialect",
|
||||
() -> "org.hibernate.dialect.PostgreSQLDialect");
|
||||
registry.add(
|
||||
"spring.jpa.hibernate.ddl-auto",
|
||||
() -> "validate");
|
||||
|
|
|
|||
|
|
@ -13,6 +13,9 @@ spring:
|
|||
hibernate:
|
||||
ddl-auto: create
|
||||
database-platform: org.hibernate.dialect.H2Dialect
|
||||
properties:
|
||||
hibernate:
|
||||
dialect: org.hibernate.dialect.H2Dialect
|
||||
flyway:
|
||||
enabled: false
|
||||
data:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue