Singular name needed in 7.x

This commit is contained in:
Tim Donohue
2024-09-06 14:38:15 -05:00
parent 7ec746d005
commit 4ac4c911cf

View File

@@ -627,7 +627,7 @@ public class RequestItemRepositoryIT
@Test
public void testGetLinkTokenEmailWithSubPath() throws MalformedURLException, URISyntaxException {
RequestItemRepository instance = applicationContext.getBean(
RequestItemRest.CATEGORY + '.' + RequestItemRest.PLURAL_NAME,
RequestItemRest.CATEGORY + '.' + RequestItemRest.NAME,
RequestItemRepository.class);
String currentDspaceUrl = configurationService.getProperty("dspace.ui.url");
String newDspaceUrl = currentDspaceUrl + "/subdir";
@@ -646,7 +646,7 @@ public class RequestItemRepositoryIT
@Test
public void testGetLinkTokenEmailWithoutSubPath() throws MalformedURLException, URISyntaxException {
RequestItemRepository instance = applicationContext.getBean(
RequestItemRest.CATEGORY + '.' + RequestItemRest.PLURAL_NAME,
RequestItemRest.CATEGORY + '.' + RequestItemRest.NAME,
RequestItemRepository.class);
String currentDspaceUrl = configurationService.getProperty("dspace.ui.url");
String expectedUrl = currentDspaceUrl + "/request-a-copy/token";