Skip to content

Commit

Permalink
Support configurable env vars for test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelborn committed Jan 16, 2025
1 parent fdf3036 commit de8ce6c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/test/resources/app/Application.bx
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ class{
"driver" = "mysql",
"database" = "test",
"host" = "localhost",
"port" = "3306",
"username" = "root",
"password" = "root",
"port" = "${env.MYSQL_USERNAME:3006}",
"username" = "${env.MYSQL_USERNAME:root}",
"password" = "${env.MYSQL_PASSWORD:root}",
"LeakDetectionThreshold" = 3
},
"dsn2": {
"driver" = "mysql",
"database" = "dsn2",
"host" = "localhost",
"port" = "3306",
"username" = "root",
"password" = "root",
"port" = "${env.MYSQL_USERNAME:3006}",
"username" = "${env.MYSQL_USERNAME:root}",
"password" = "${env.MYSQL_PASSWORD:root}",
"LeakDetectionThreshold" = 3
}
};
Expand Down

0 comments on commit de8ce6c

Please sign in to comment.