File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
src/org/labkey/test/tests Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ public class AdvancedImportOptionsTest extends BaseWebDriverTest implements Post
7272 private static final int EXPECTED_COMPLETED_IMPORT_JOBS = 1 ;
7373 private static final int EXPECTED_COMPLETED_MULTI_FOLDER_JOBS = 2 ;
7474 private Boolean _studyDesignPreviouslyEnabled ;
75+ private Boolean _advancedImportOptionsEnabled ;
7576
7677 @ Override
7778 public List <String > getAssociatedModules ()
@@ -96,6 +97,7 @@ public static void doSetup()
9697 {
9798 AdvancedImportOptionsTest test = getCurrentTest ();
9899 test ._studyDesignPreviouslyEnabled = OptionalFeatureHelper .enableOptionalFeature (test .createDefaultConnection (), "studyDesignFlag" );
100+ test ._advancedImportOptionsEnabled = OptionalFeatureHelper .enableOptionalFeature (test .createDefaultConnection (), "advancedImportFlag" );
99101 }
100102
101103 @ Override
@@ -109,6 +111,9 @@ public void doCleanup(boolean afterTest) throws TestTimeoutException
109111 if (_studyDesignPreviouslyEnabled != null )
110112 OptionalFeatureHelper .setOptionalFeature (createDefaultConnection (), "studyDesignFlag" , _studyDesignPreviouslyEnabled );
111113
114+ if (_advancedImportOptionsEnabled != null )
115+ OptionalFeatureHelper .setOptionalFeature (createDefaultConnection (), "advancedImportFlag" , _advancedImportOptionsEnabled );
116+
112117 _userHelper .deleteUser (LIMITED_USER );
113118 }
114119
You can’t perform that action at this time.
0 commit comments