From fd57053c1a2433264adf833f39e3b79199757920 Mon Sep 17 00:00:00 2001 From: labkey-jeckels Date: Sat, 6 Nov 2021 18:21:55 -0700 Subject: [PATCH] Support using linked schema in place of DB schema for testing purposes --- .../test/tests/onprc_ehr/AbstractGenericONPRC_EHRTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ehr/test/src/org/labkey/test/tests/onprc_ehr/AbstractGenericONPRC_EHRTest.java b/ehr/test/src/org/labkey/test/tests/onprc_ehr/AbstractGenericONPRC_EHRTest.java index 108568b99..647a0ae83 100644 --- a/ehr/test/src/org/labkey/test/tests/onprc_ehr/AbstractGenericONPRC_EHRTest.java +++ b/ehr/test/src/org/labkey/test/tests/onprc_ehr/AbstractGenericONPRC_EHRTest.java @@ -104,7 +104,8 @@ protected void setEHRModuleProperties(ModulePropertyValue... extraProps) new ModulePropertyValue("ONPRC_Billing", "/" + getProjectName(), "BillingContainer", "/" + getContainerPath()), new ModulePropertyValue("ONPRC_Billing", "/" + getProjectName(), "BillingContainer_Public", "/" + getContainerPath()), new ModulePropertyValue("SLA", "/" + getProjectName(), "SLAContainer", "/" + getContainerPath()), - new ModulePropertyValue("ONPRC_EHR", "/" + getProjectName(), "DCM_NHP_Resources_Container", "/" + getContainerPath()) + new ModulePropertyValue("ONPRC_EHR", "/" + getProjectName(), "DCM_NHP_Resources_Container", "/" + getContainerPath()), + new ModulePropertyValue("ONPRC_EHR", "/" + getProjectName(), "MHC_Container", "/" + getContainerPath()) ); } @@ -184,6 +185,7 @@ protected void doExtraPreStudyImportSetup() new ListHelper.ListColumn("totalTests", ListHelper.ListColumnType.Integer)); schemaHelper.createLinkedSchema(this.getProjectName(), "dbo", "/" + this.getContainerPath(), null, "lists", null, null); + schemaHelper.createLinkedSchema(this.getProjectName(), "geneticscore", "/" + this.getContainerPath(), null, "lists", null, null); } @Override