JAL-3253-applet JAL-3424 headless fix for Windows
[jalview.git] / test / jalview / gui / AlignViewportTest.java
index ff8b19c..4db0df2 100644 (file)
@@ -79,7 +79,7 @@ public class AlignViewportTest
     /*
      * remove any sequence mappings left lying around by other tests
      */
-    Desktop.getInstance().getStructureSelectionManager().resetAll();
+    Desktop.getStructureSelectionManager().resetAll();
   }
 
   @BeforeMethod(alwaysRun = true)