Skip to content

Commit

Permalink
OK-567 Fix test data paths
Browse files Browse the repository at this point in the history
  • Loading branch information
msiukola committed Jun 28, 2024
1 parent 6d2ae3f commit ccb8dea
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ class SureTestJetty(
suoritusrekisteriApp.setAttribute("hakurekisteri.config", config)
suoritusrekisteriApp.setBaseResource(
new ResourceCollection(
Array(root + "/src/main/resources/webapp", root + "/target/classes/webapp")
Array(
root + "/suoritusrekisteri/src/main/resources/webapp",
root + "/suoritusrekisteri/target/classes/webapp"
)
)
)
suoritusrekisteriApp.setContextPath("/suoritusrekisteri")
Expand All @@ -84,7 +87,7 @@ class SureTestJetty(
val mockApp = new WebAppContext()
mockApp.setAttribute("hakurekisteri.config", config)
mockApp.setBaseResource(
new ResourceCollection(Array(root + "/src/test/resources/front-mock-files"))
new ResourceCollection(Array(root + "/suoritusrekisteri/src/test/resources/front-mock-files"))
)
mockApp.setContextPath("/")
mockApp.setInitParameter(
Expand Down

0 comments on commit ccb8dea

Please sign in to comment.