add feature tests for ProductService

This commit is contained in:
Denis Savosin
2024-10-01 16:31:18 +07:00
parent 924969a617
commit 0daff4065d
6 changed files with 87 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ import org.springframework.data.relational.core.mapping.Table
import java.time.OffsetDateTime
import java.util.*
@Table(value = "product", schema = "public")
@Table(value = "product")
@Serializable
data class Product(
@Id

View File

@@ -8,7 +8,7 @@ spring:
password: postgres
driver-class-name: org.postgresql.Driver
hikari:
schema: demo
schema: public
flyway: #flyway automatically uses the datasource from the application to connect to the DB
enabled: true # enables flyway database migration
locations: classpath:db/migration/structure, classpath:db/migration/data # the location where flyway should look for migration scripts