Changeset 17655 in josm for trunk/test/unit/org/openstreetmap/josm/io/remotecontrol/handler
- Timestamp:
- 2021-03-24T17:56:01+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/remotecontrol/handler/ImageryHandlerTest.java
r17275 r17655 53 53 void testBadRequestInvalidUrl() { 54 54 Exception e = assertThrows(RequestHandlerBadRequestException.class, () -> newHandler("invalid_url").handle()); 55 assertEquals("The following keys are mandatory, but have not been provided: url ", e.getMessage());55 assertEquals("The following keys are mandatory, but have not been provided: url/id", e.getMessage()); 56 56 } 57 57 … … 62 62 void testBadRequestIncompleteUrl() { 63 63 Exception e = assertThrows(RequestHandlerBadRequestException.class, () -> newHandler("https://localhost").handle()); 64 assertEquals("The following keys are mandatory, but have not been provided: url ", e.getMessage());64 assertEquals("The following keys are mandatory, but have not been provided: url/id", e.getMessage()); 65 65 } 66 66
Note:
See TracChangeset
for help on using the changeset viewer.