Commit e17b425a authored by Matej Vavro's avatar Matej Vavro
Browse files

fix: fixed the pom.xml configuration and application.yml to work with integration tests with maven

parent 9fbff2fe
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -68,7 +68,6 @@
        <dependency>
            <groupId>com.h2database</groupId>
            <artifactId>h2</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

+14 −2
Original line number Diff line number Diff line
@@ -2,6 +2,18 @@ spring:
    application:
        name: "Movie Recommender - Recommendations"

    datasource:
        url: jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
        driver-class-name: org.h2.Driver
        username: sa
        password: password
    jpa:
        database-platform: org.hibernate.dialect.H2Dialect
        hibernate:
            ddl-auto: update
    profiles:
        active: test

springdoc:
    api-docs:
        path: /openapi