File tree Expand file tree Collapse file tree
panoramapublic/test/src/org/labkey/test/tests/panoramapublic Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414import org .labkey .test .Locator ;
1515import org .labkey .test .TestFileUtils ;
1616import org .labkey .test .TestTimeoutException ;
17+ import org .labkey .test .WebTestHelper ;
1718import org .labkey .test .components .BodyWebPart ;
1819import org .labkey .test .components .SubfoldersWebPart ;
1920import org .labkey .test .components .panoramapublic .TargetedMsExperimentInsertPage ;
@@ -113,10 +114,6 @@ public static void initProject()
113114 @ After
114115 public void afterTest () throws IOException , CommandException
115116 {
116- if (isImpersonating ())
117- {
118- stopImpersonating ();
119- }
120117 verifySymlinks ();
121118 }
122119
@@ -149,7 +146,7 @@ private void createPanoramaPublicJournalProject()
149146
150147 boolean verifySymlinks () throws IOException , CommandException
151148 {
152- Connection connection = createDefaultConnection ( );
149+ Connection connection = WebTestHelper . getRemoteApiConnection ( false );
153150 SimpleGetCommand command = new SimpleGetCommand ("PanoramaPublic" , "verifySymlinks" );
154151 CommandResponse verifyResponse = command .execute (connection , "/" );
155152
You can’t perform that action at this time.
0 commit comments