Changeset 18650 in josm for trunk/test/unit/org
- Timestamp:
- 2023-02-08T18:31:58+01:00 (21 months ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 5 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/io/DownloadOpenChangesetsTaskTest.java
r17275 r18650 14 14 import javax.swing.JPanel; 15 15 16 import org.junit.jupiter.api.BeforeEach; 16 17 import org.junit.jupiter.api.extension.RegisterExtension; 17 18 import org.junit.jupiter.api.Test; … … 19 20 import org.openstreetmap.josm.data.UserIdentityManager; 20 21 import org.openstreetmap.josm.gui.oauth.OAuthAuthorizationWizard; 22 import org.openstreetmap.josm.spi.preferences.Config; 21 23 import org.openstreetmap.josm.testutils.JOSMTestRules; 22 24 import org.openstreetmap.josm.testutils.mockers.JOptionPaneSimpleMocker; … … 66 68 invocation.proceed(serverUrl); 67 69 } 70 } 71 72 /** 73 * These tests were written with {@link org.openstreetmap.josm.data.oauth.OAuthVersion#OAuth10a} as the default auth method. 74 */ 75 @BeforeEach 76 void setup() { 77 Config.getPref().put("osm-server.auth-method", "oauth"); 68 78 } 69 79
Note:
See TracChangeset
for help on using the changeset viewer.