Changeset 12922 in josm


Ignore:
Timestamp:
2017-10-03T23:04:52+02:00 (2 months ago)
Author:
Don-vip
Message:

see #15387 - fix unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/datatransfer/OsmTransferHandlerTest.java

    r12726 r12922  
    1414import org.openstreetmap.josm.data.osm.DataSet;
    1515import org.openstreetmap.josm.data.osm.Node;
     16import org.openstreetmap.josm.gui.MainApplication;
    1617import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    1718import org.openstreetmap.josm.testutils.JOSMTestRules;
     
    6465    public void testPasteTags() {
    6566        Node n = new Node(LatLon.ZERO);
    66         new DataSet(n);
     67        MainApplication.getLayerManager().addLayer(new OsmDataLayer(new DataSet(n), "testPasteTags", null));
    6768
    6869        ClipboardUtils.copyString("test=ok");
Note: See TracChangeset for help on using the changeset viewer.