From 096bd00187b0e95cac7f3f109858f52b2d4ecb77 Mon Sep 17 00:00:00 2001 From: Wikum Weerakutti Date: Sun, 8 Sep 2024 14:43:38 +0300 Subject: [PATCH] Updating the SPA modules versions to fix the test failures (#292) Co-authored-by: Ian <52504170+ibacher@users.noreply.github.com> --- .../org/openmrs/maven/plugins/SetupIntegrationTest.java | 4 ++-- .../resources/integration-test/openmrs-distro.properties | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/integration-tests/src/test/java/org/openmrs/maven/plugins/SetupIntegrationTest.java b/integration-tests/src/test/java/org/openmrs/maven/plugins/SetupIntegrationTest.java index 6e2e12389..aa187d880 100644 --- a/integration-tests/src/test/java/org/openmrs/maven/plugins/SetupIntegrationTest.java +++ b/integration-tests/src/test/java/org/openmrs/maven/plugins/SetupIntegrationTest.java @@ -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\"]")); diff --git a/integration-tests/src/test/resources/integration-test/openmrs-distro.properties b/integration-tests/src/test/resources/integration-test/openmrs-distro.properties index 4e2108806..22f41632f 100644 --- a/integration-tests/src/test/resources/integration-test/openmrs-distro.properties +++ b/integration-tests/src/test/resources/integration-test/openmrs-distro.properties @@ -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