Skip to content
Snippets Groups Projects
Commit 581559e1 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#663 - migrator: add new settings option "migrationDeclined"

parent 6a86bd4c
Branches
Tags
No related merge requests found
......@@ -77,4 +77,7 @@ public class DestinationSettings
@Column(name = "whats_new_shown_for_current_version")
private Boolean whatsNewShownForCurrentVersion;
@Column(name = "migration_declined")
private Boolean migrationDeclined = false;
}
......@@ -63,7 +63,7 @@ class MigrateSettingsTest extends MigratorTestBase
assertThat(stepExecution.getReadCount()).isEqualTo(1);
assertThat(stepExecution.getCommitCount()).isEqualTo(2);
final DestinationSettings settings = new DestinationSettings(1, "€", false, 1, false, true, true, true, LocalDate.of(2022, 3, 15), 10, 0, 1, 0, 3, "", "", "", "", 35, false);
final DestinationSettings settings = new DestinationSettings(1, "€", false, 1, false, true, true, true, LocalDate.of(2022, 3, 15), 10, 0, 1, 0, 3, "", "", "", "", 35, false, false);
final List<DestinationSettings> settingsItems = settingsRepository.findAll();
assertThat(settingsItems)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment