Changeset 19142 in josm
- Timestamp:
- 2024-07-15T22:13:26+02:00 (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/oauth/OAuth20AuthorizationTest.java
r19050 r19142 23 23 import org.openstreetmap.josm.data.oauth.osm.OsmScopes; 24 24 import org.openstreetmap.josm.data.preferences.JosmUrls; 25 import org.openstreetmap.josm.gui.util.GuiHelper; 25 26 import org.openstreetmap.josm.io.OsmApi; 26 27 import org.openstreetmap.josm.io.remotecontrol.RemoteControl; … … 191 192 wireMockRuntimeInfo.getHttpBaseUrl() + "/oauth2", wireMockRuntimeInfo.getHttpBaseUrl() + "/api", 192 193 parameters.getRedirectUri()), consumer::set, OsmScopes.read_gpx); 194 GuiHelper.runInEDTAndWait(() -> { /* Sync EDT thread */ }); 193 195 assertEquals(1, OpenBrowserMocker.getCalledURIs().size()); 194 196 final URL url = assertDoesNotThrow(() -> OpenBrowserMocker.getCalledURIs().get(0).toURL());
Note:
See TracChangeset
for help on using the changeset viewer.