Skip to content

Commit

Permalink
also consider SubmissionConfigReaderException
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-graca committed Jul 28, 2023
1 parent e369d53 commit 8a04b87
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import org.dspace.app.rest.repository.SubmissionFormRestRepository;
import org.dspace.app.rest.test.AbstractControllerIntegrationTest;
import org.dspace.app.util.DCInputsReaderException;
import org.dspace.app.util.SubmissionConfigReaderException;
import org.dspace.builder.EPersonBuilder;
import org.dspace.content.authority.DCInputAuthority;
import org.dspace.content.authority.service.ChoiceAuthorityService;
Expand Down Expand Up @@ -666,7 +667,7 @@ public void noExternalSourcesTest() throws Exception {
;
}

private void resetLocalesConfiguration() throws DCInputsReaderException {
private void resetLocalesConfiguration() throws DCInputsReaderException, SubmissionConfigReaderException {
configurationService.setProperty("default.locale","en");
configurationService.setProperty("webui.supported.locales",null);
submissionFormRestRepository.reload();
Expand Down

0 comments on commit 8a04b87

Please sign in to comment.