[DSC-963] Fixed Sword tests

This commit is contained in:
Luca Giamminonni
2023-03-10 17:39:33 +01:00
parent 2819b6f2e4
commit 1bbd478cf6
3 changed files with 3 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ import org.springframework.test.context.TestPropertySource;
*/
// Ensure the RDF endpoint IS ENABLED before any tests run.
// This annotation overrides default DSpace config settings loaded into Spring Context
@TestPropertySource(properties = {"rdf.enabled = true"})
@TestPropertySource(properties = {"rdf.enabled = true", "server.servlet.context-path = /"})
public class RdfIT extends AbstractWebClientIntegrationTest {
@Autowired

View File

@@ -34,7 +34,7 @@ import org.springframework.test.context.TestPropertySource;
*/
// Ensure the SWORD SERVER IS ENABLED before any tests run.
// This annotation overrides default DSpace config settings loaded into Spring Context
@TestPropertySource(properties = {"sword-server.enabled = true"})
@TestPropertySource(properties = { "sword-server.enabled = true", "server.servlet.context-path = /" })
public class Swordv1IT extends AbstractWebClientIntegrationTest {
@Autowired

View File

@@ -34,7 +34,7 @@ import org.springframework.test.context.TestPropertySource;
*/
// Ensure the SWORDv2 SERVER IS ENABLED before any tests run.
// This annotation overrides default DSpace config settings loaded into Spring Context
@TestPropertySource(properties = {"swordv2-server.enabled = true"})
@TestPropertySource(properties = {"swordv2-server.enabled = true", "server.servlet.context-path = /"})
public class Swordv2IT extends AbstractWebClientIntegrationTest {
@Autowired