Index: applications/editors/josm/plugins/ElevationProfile/test/unit/org/openstreetmap/josm/plugins/elevation/tests/HgtReaderTest.java
===================================================================
--- applications/editors/josm/plugins/ElevationProfile/test/unit/org/openstreetmap/josm/plugins/elevation/tests/HgtReaderTest.java	(revision 32329)
+++ applications/editors/josm/plugins/ElevationProfile/test/unit/org/openstreetmap/josm/plugins/elevation/tests/HgtReaderTest.java	(revision 32351)
@@ -9,12 +9,16 @@
 import java.nio.file.Paths;
 
-import junit.framework.TestCase;
-
-import org.openstreetmap.josm.JOSMFixture;
+import org.junit.Rule;
 import org.openstreetmap.josm.TestUtils;
 import org.openstreetmap.josm.data.coor.LatLon;
 import org.openstreetmap.josm.plugins.elevation.HgtReader;
+import org.openstreetmap.josm.testutils.JOSMTestRules;
+
+import junit.framework.TestCase;
 
 public class HgtReaderTest extends TestCase {
+
+    @Rule
+    public JOSMTestRules rules = new JOSMTestRules().preferences();
 
     /**
@@ -24,5 +28,4 @@
     @Override
     public void setUp() throws IOException {
-        JOSMFixture.createUnitTestFixture().init();
         // Install SRTM files to plugin directory
         try (DirectoryStream<Path> stream = Files.newDirectoryStream(Paths.get(TestUtils.getTestDataRoot()), "*.hgt")) {
