JAL-3444 missed commit of removal of object creation test.
[jalview.git] / test / jalview / ws / dbsources / RemoteFormatTest.java
index 629bd8a..1e4573d 100644 (file)
@@ -46,12 +46,12 @@ public class RemoteFormatTest
   {
     Cache.loadProperties("test/jalview/io/testProps.jvprops");
     // ensure 'add annotation from structure' is selected
-    Cache.applicationProperties.setProperty("STRUCT_FROM_PDB",
+    Cache.setPropertyNoSave("STRUCT_FROM_PDB",
             Boolean.TRUE.toString());
-    Cache.applicationProperties.setProperty("ADD_SS_ANN",
+    Cache.setPropertyNoSave("ADD_SS_ANN",
             Boolean.TRUE.toString());
 
-    sf = new SequenceFetcher();
+    sf = SequenceFetcher.getInstance();
   }
 
   @DataProvider(name = "AccessionData")