refactor(front50-sql/test): simplify testcontainers jdbc urls
@@ -301,15 +301,15 @@ internal object SqlStorageServiceTests : JUnit5Minutests {
fun tests() = rootContext<JooqConfig> {
fixture {
- JooqConfig(SQLDialect.MYSQL, "jdbc:tc:mysql:5.7.22://somehostname:someport/databasename")
+ JooqConfig(SQLDialect.MYSQL, "jdbc:tc:mysql:5.7.22://somehostname/databasename")
}
context("mysql CRUD operations") {
- crudOperations(JooqConfig(SQLDialect.MYSQL, "jdbc:tc:mysql:5.7.22://somehostname:someport/databasename"))
+ crudOperations(JooqConfig(SQLDialect.MYSQL, "jdbc:tc:mysql:5.7.22://somehostname/databasename"))
}
context("postgresql CRUD operations") {
- crudOperations(JooqConfig(SQLDialect.POSTGRES, "jdbc:tc:postgresql:12-alpine://somehostname:someport/databasename"))
+ crudOperations(JooqConfig(SQLDialect.POSTGRES, "jdbc:tc:postgresql:12-alpine://somehostname/databasename"))
}
}
}
