@@ -28,7 +28,7 @@ public void shouldRetrieveOptionalObjectFromOrganisationSettings() {
2828 JsonObject settings = new JsonObject ().with (OrganisationConfigSettingKey .customRegistrationLocations .name (), true );
2929 organisationConfig .setSettings (settings );
3030 when (organisationRepository .findByOrganisationId (25l )).thenReturn (organisationConfig );
31- OrganisationConfigService organisationConfigService = new OrganisationConfigService (organisationRepository , null , null , null );
31+ OrganisationConfigService organisationConfigService = new OrganisationConfigService (organisationRepository , null , null , null , null );
3232
3333 Organisation organisation = new Organisation ();
3434 organisation .setId (25l );
@@ -56,7 +56,7 @@ public void shouldCheckIfMessagingFeatureEnabled() {
5656 JsonObject settings = new JsonObject ().with (OrganisationConfigSettingKey .enableMessaging .name (), true );
5757 organisationConfigWithMessagingEnabled .setSettings (settings );
5858 when (organisationConfigRepository .findByOrganisationId (organisationId )).thenReturn (organisationConfigWithoutMessagingEnabled ).thenReturn (organisationConfigWithMessagingEnabled );
59- OrganisationConfigService organisationConfigService = new OrganisationConfigService (organisationConfigRepository , null , null , null );
59+ OrganisationConfigService organisationConfigService = new OrganisationConfigService (organisationConfigRepository , null , null , null , null );
6060
6161 assertThat (organisationConfigService .isMessagingEnabled (), is (false ));
6262 assertThat (organisationConfigService .isMessagingEnabled (), is (true ));
@@ -66,7 +66,7 @@ public void shouldCheckIfMessagingFeatureEnabled() {
6666 public void shouldRemoveVoidedAddressLevelTypeFromCustomRegistrationLocations () {
6767 // Setup
6868 OrganisationConfigRepository organisationConfigRepository = mock (OrganisationConfigRepository .class );
69- OrganisationConfigService organisationConfigService = new OrganisationConfigService (organisationConfigRepository , null , null , null );
69+ OrganisationConfigService organisationConfigService = new OrganisationConfigService (organisationConfigRepository , null , null , null , null );
7070
7171 // Create test data
7272 Organisation organisation = new Organisation ();
@@ -111,7 +111,7 @@ public void shouldRemoveVoidedAddressLevelTypeFromCustomRegistrationLocations()
111111 public void shouldRemoveEntireSettingWhenAllLocationTypesVoided () {
112112 // Setup
113113 OrganisationConfigRepository organisationConfigRepository = mock (OrganisationConfigRepository .class );
114- OrganisationConfigService organisationConfigService = new OrganisationConfigService (organisationConfigRepository , null , null , null );
114+ OrganisationConfigService organisationConfigService = new OrganisationConfigService (organisationConfigRepository , null , null , null , null );
115115
116116 // Create test data
117117 Organisation organisation = new Organisation ();
0 commit comments