|
|
@ -701,15 +701,13 @@ class FlywayAutoConfigurationTests {
|
|
|
|
void sqlServerKerberosLoginFileIsCorrectlyMapped() {
|
|
|
|
void sqlServerKerberosLoginFileIsCorrectlyMapped() {
|
|
|
|
this.contextRunner.withUserConfiguration(EmbeddedDataSourceConfiguration.class)
|
|
|
|
this.contextRunner.withUserConfiguration(EmbeddedDataSourceConfiguration.class)
|
|
|
|
.withPropertyValues("spring.flyway.sql-server-kerberos-login-file=/tmp/config")
|
|
|
|
.withPropertyValues("spring.flyway.sql-server-kerberos-login-file=/tmp/config")
|
|
|
|
.run((context) -> {
|
|
|
|
.run((context) -> assertThat(context.getBean(Flyway.class)
|
|
|
|
assertThat(context.getBean(Flyway.class)
|
|
|
|
|
|
|
|
.getConfiguration()
|
|
|
|
.getConfiguration()
|
|
|
|
.getPluginRegister()
|
|
|
|
.getPluginRegister()
|
|
|
|
.getPlugin(SQLServerConfigurationExtension.class)
|
|
|
|
.getPlugin(SQLServerConfigurationExtension.class)
|
|
|
|
.getKerberos()
|
|
|
|
.getKerberos()
|
|
|
|
.getLogin()
|
|
|
|
.getLogin()
|
|
|
|
.getFile()).isEqualTo("/tmp/config");
|
|
|
|
.getFile()).isEqualTo("/tmp/config"));
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|