Skip to content

Commit

Permalink
[cuebot] Switch to new version of embedded Postgres for unit tests. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bcipriano committed Jan 17, 2022
1 parent 8037f2e commit 310af8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion cuebot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,11 @@ dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.springframework.boot', name: 'spring-boot-starter-test'
testCompile group: 'org.assertj', name: 'assertj-core', version: '3.8.0'
testCompile group: 'com.opentable.components', name: 'otj-pg-embedded', version: '0.13.3'
testCompile group: 'io.zonky.test', name: 'embedded-postgres', version: '1.3.1'
testCompile group: 'org.flywaydb', name: 'flyway-core', version: '5.2.0'

// Use newer version of Postgres for tests: https://github.com/zonkyio/embedded-postgres/issues/78
implementation enforcedPlatform('io.zonky.test.postgres:embedded-postgres-binaries-bom:11.13.0')
}

compileJava {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import com.google.common.base.Charsets;
import com.google.common.io.Resources;
import com.opentable.db.postgres.embedded.EmbeddedPostgres;
import io.zonky.test.db.postgres.embedded.EmbeddedPostgres;
import org.flywaydb.core.Flyway;

import java.net.URL;
Expand Down

0 comments on commit 310af8a

Please sign in to comment.