mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
[DSC-963] Fixed Sword tests
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user