Skip to content

Commit

Permalink
Modify cypress e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zdu-strong committed Mar 1, 2025
1 parent bd84021 commit f122f24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion react-cypress/bin/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async function startServer() {
"SPRING_DATASOURCE_URL": `jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE`,
"SERVER_PORT": `${availableServerPort}`,
"SPRING_DATASOURCE_DRIVER_CLASS_NAME": `org.h2.Driver`,
"SPRING_JPA_HIBERNATE_DDL_AUTO": `create-drop`,
"SPRING_JPA_HIBERNATE_DDL_AUTO": `update`,
"SPRING_JPA_DATABASE_PLATFORM": `com.springboot.project.common.database.CustomH2Dialect`,
"SPRING_LIQUIBASE_ENABLED": `false`,
"PROPERTIES_STORAGE_ROOT_PATH": `defaultTest-a56b075f-102e-edf3-8599-ffc526ec948a`,
Expand Down
2 changes: 1 addition & 1 deletion react-cypress/bin/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async function startServer() {
"SPRING_DATASOURCE_URL": `jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE`,
"SERVER_PORT": `${availableServerPort}`,
"SPRING_DATASOURCE_DRIVER_CLASS_NAME": `org.h2.Driver`,
"SPRING_JPA_HIBERNATE_DDL_AUTO": `create-drop`,
"SPRING_JPA_HIBERNATE_DDL_AUTO": `update`,
"SPRING_JPA_DATABASE_PLATFORM": `com.springboot.project.common.database.CustomH2Dialect`,
"SPRING_LIQUIBASE_ENABLED": `false`,
"PROPERTIES_STORAGE_ROOT_PATH": `defaultTest-a56b075f-102e-edf3-8599-ffc526ec948a`,
Expand Down

0 comments on commit f122f24

Please sign in to comment.