diff --git a/spring-boot-integration/kotlin-custom-ds-demo-app/src/test/kotlin/io/github/mfvanek/pg/spring/postgres/kt/custom/ds/PostgresCustomDataSourceDemoApplicationKtRunTest.kt b/spring-boot-integration/kotlin-custom-ds-demo-app/src/test/kotlin/io/github/mfvanek/pg/spring/postgres/kt/custom/ds/PostgresCustomDataSourceDemoApplicationKtRunTest.kt index 67a9d56c..3c45e64d 100644 --- a/spring-boot-integration/kotlin-custom-ds-demo-app/src/test/kotlin/io/github/mfvanek/pg/spring/postgres/kt/custom/ds/PostgresCustomDataSourceDemoApplicationKtRunTest.kt +++ b/spring-boot-integration/kotlin-custom-ds-demo-app/src/test/kotlin/io/github/mfvanek/pg/spring/postgres/kt/custom/ds/PostgresCustomDataSourceDemoApplicationKtRunTest.kt @@ -12,12 +12,11 @@ internal class PostgresCustomDataSourceDemoApplicationKtRunTest { @Test fun applicationShouldRun(output: CapturedOutput) { - assertThatCode { main(arrayOf("--spring.profiles.active=test,run")) } + assertThatCode { main(arrayOf("--spring.profiles.active=test")) } .doesNotThrowAnyException() assertThat(output.all) .contains("Reading from custom_ds_schema.databasechangelog") .contains("Starting PostgresCustomDataSourceDemoApplicationKt using Java") - .contains("Container is started (JDBC URL: jdbc:postgresql://localhost:") .contains("Started PostgresCustomDataSourceDemoApplicationKt in") } }