Skip to content

Commit

Permalink
Fix DSpace properties in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
markpatton committed Nov 19, 2024
1 parent c72f6b1 commit 7923faa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
"pass.deposit.repository.configuration=classpath:/full-test-repositories.json",
"inveniordm.api.token=test-invenio-api-token",
"inveniordm.api.baseUrl=http://localhost:9030/api",
"dspace.port=9030",
"dspace.server.api.path=/dspace/api",
"dspace.server=localhost:9030",
"dspace.api.url=http://localhost:9030/dspace/api",
"dspace.collection.uuid=collectionuuid"
})
@WireMockTest(httpPort = 9030)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
* @author Russ Poetker ([email protected])
*/
@TestPropertySource(properties = {
"dspace.server.api.protocol=http",
"dspace.server.api.path=/server/api",
"dspace.server=localhost:9020",
"dspace.api.url=http://localhost:9020/server/api",
"pass.test.data.job.enabled=true",
"pass.test.data.policy.title=test-policy-title",
"pass.test.data.user.email=test-user-email@foo",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@
"dspace.user=test-dspace-user",
"dspace.password=test-dspace-password",
"dspace.port=9020",
"dspace.server=localhost",
"dspace.server.api.protocol=http",
"dspace.server.api.path=/server/api",
"dspace.server=localhost:9020",
"dspace.server.api.path=http://localhost/server/api",
})
public class ScheduledJobsTest {

Expand Down

0 comments on commit 7923faa

Please sign in to comment.