Ignore:
Timestamp:
2021-03-24T17:56:01+01:00 (8 months ago)
Author:
simon04
Message:

fix #20660 - Remote control /imagery: add imagery by id

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/io/remotecontrol/handler/ImageryHandlerTest.java

    r17275 r17655  
    5353    void testBadRequestInvalidUrl() {
    5454        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());
    5656    }
    5757
     
    6262    void testBadRequestIncompleteUrl() {
    6363        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());
    6565    }
    6666
Note: See TracChangeset for help on using the changeset viewer.