Changeset 14485 in josm for trunk


Ignore:
Timestamp:
2018-12-02T13:25:35+01:00 (7 months ago)
Author:
stoecker
Message:

handle {lang} for EULA, see #16073

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreferenceTestIT.java

    r14482 r14485  
    8080        checkUrl(info, info.getAttributionImageURL());
    8181        checkUrl(info, info.getAttributionLinkURL());
    82         checkUrl(info, info.getEulaAcceptanceRequired());
     82        String eula = info.getEulaAcceptanceRequired();
     83        if(eula != null) {
     84            checkUrl(info, eula.replaceAll("\\{lang\\}", ""));
     85        }
    8386        checkUrl(info, info.getPermissionReferenceURL());
    8487        checkUrl(info, info.getTermsOfUseURL());
Note: See TracChangeset for help on using the changeset viewer.