Ignore:
Timestamp:
2017-08-04T00:31:45+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15102 - avoid useless API capabilities request

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/actions/upload/ValidateUploadHookTest.java

    r10960 r12567  
    11// License: GPL. For details, see LICENSE file.
    22package org.openstreetmap.josm.actions.upload;
     3
     4import static org.junit.Assert.assertTrue;
    35
    46import org.junit.Rule;
     
    1921    @Rule
    2022    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    21     public JOSMTestRules test = new JOSMTestRules().platform().timeout(20000);
     23    public JOSMTestRules test = new JOSMTestRules().platform().fakeAPI();
    2224
    2325    /**
     
    2628    @Test
    2729    public void testCheckUpload() {
    28         new ValidateUploadHook().checkUpload(new APIDataSet());
     30        assertTrue(new ValidateUploadHook().checkUpload(new APIDataSet()));
    2931    }
    3032}
Note: See TracChangeset for help on using the changeset viewer.