Skip to content

Commit

Permalink
Updating the SPA modules versions to fix the test failures (#292)
Browse files Browse the repository at this point in the history
Co-authored-by: Ian <[email protected]>
  • Loading branch information
wikumChamith and ibacher authored Sep 8, 2024
1 parent 34fc8ae commit 096bd00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ public void setup_shouldInstallServerFromDistroPropertiesDir() throws Exception{
Path indexFilePath = testDirectoryPath.resolve(Paths.get(serverId, "frontend", "index.html"));
assertPathPresent(indexFilePath);
assertFilePresent(serverId, "frontend", "importmap.json");
assertFilePresent(serverId, "frontend", "openmrs-esm-login-app-3.3.1");
assertFilePresent(serverId, "frontend", "openmrs-esm-patient-chart-app-3.1.0");
assertFilePresent(serverId, "frontend", "openmrs-esm-login-app-5.6.0");
assertFilePresent(serverId, "frontend", "openmrs-esm-patient-chart-app-8.0.0");
String indexContents = FileUtils.readFileToString(getTestFile(indexFilePath), StandardCharsets.UTF_8);
assertThat(indexContents, containsString("apiUrl: \"notopenmrs\""));
assertThat(indexContents, containsString("configUrls: [\"foo\"]"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ db.h2.supported=true
property.test=testValue
property.pih.default.config.prompt=Please specify
property.pih.default.config.default=shouldNotBeUsed
spa.core=3.3.1
spa.frontendModules.@openmrs/esm-login-app=3.3.1
spa.frontendModules.@openmrs/esm-patient-chart-app=3.1.0
spa.core=5.6.0
spa.frontendModules.@openmrs/esm-login-app=5.6.0
spa.frontendModules.@openmrs/esm-patient-chart-app=8.0.0
spa.apiUrl=notopenmrs
spa.configUrls=foo
content.hiv=1.0.0

0 comments on commit 096bd00

Please sign in to comment.