Skip to content

Commit a417263

Browse files
authored
Fix for testAssayMultiFileImportForMVTC (#7537)
#### Rationale Enable multi-values feature. #### Related Pull Requests - <!-- list of links to related pull requests (replace this comment) --> #### Changes - <!-- list of descriptions of changes that are worth noting (replace this comment) --> <!-- list of standard tasks (remove this comment to enable) #### Tasks 📍 - [ ] Manual Testing - [ ] Needs Automation - [ ] Verify Fix -->
1 parent c693a96 commit a417263

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

study/test/src/org/labkey/test/tests/study/AssayTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
import org.labkey.test.util.DataRegionTable;
4949
import org.labkey.test.util.DomainUtils;
5050
import org.labkey.test.util.LogMethod;
51+
import org.labkey.test.util.OptionalFeatureHelper;
5152
import org.labkey.test.util.SampleTypeHelper;
5253
import org.labkey.test.util.StudyHelper;
5354
import org.labkey.test.util.TestDataGenerator;
@@ -131,6 +132,7 @@ public void testAssayNameMaxLength() throws Exception
131132
public void testAssayMultiFileImportForMVTC() throws Exception
132133
{
133134
Assume.assumeTrue("Multi-choice text fields are only supported on PostgreSQL", WebTestHelper.getDatabaseType() == WebTestHelper.DatabaseType.PostgreSQL);
135+
OptionalFeatureHelper.enableOptionalFeature(getCurrentTest().createDefaultConnection(), "multiChoiceDataType");
134136
_containerHelper.createProject(MVTC_MULTI_FILE_IMPORT_PROJECT, "Assay");
135137
new GeneralAssayDesign(MVTC_MULTI_FILE_IMPORT_ASSAY)
136138
.setRunFields(List.of(new FieldDefinition("runText", FieldDefinition.ColumnType.String)), true)

0 commit comments

Comments
 (0)