File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
cli/flamingock-cli/src/test/java/io/flamingock/cli/config Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 2222import java .io .IOException ;
2323import java .nio .file .Files ;
2424import java .nio .file .Path ;
25+ import java .util .Optional ;
2526
2627import static io .flamingock .internal .common .sql .SqlDialect .SQLSERVER ;
2728import static org .assertj .core .api .Assertions .*;
@@ -100,7 +101,7 @@ void shouldLoadValidSqlConfiguration() throws IOException {
100101 assertThat (config .getAudit ().getSql ().getEndpoint ()).isEqualTo ("jdbc:sqlserver://localhost:1433" );
101102 assertThat (config .getAudit ().getSql ().getUsername ()).isEqualTo ("test-user" );
102103 assertThat (config .getAudit ().getSql ().getPassword ()).isEqualTo ("test-password" );
103- assertThat (config .getAudit ().getSql ().getSqlDialect ()).isEqualTo (SQLSERVER );
104+ assertThat (config .getAudit ().getSql ().getSqlDialect ()).isEqualTo (Optional . of ( SQLSERVER ) );
104105 }
105106
106107 @ Test
You can’t perform that action at this time.
0 commit comments