Pinned the NearbyAdapterFactoryTest to api level 21 for the test.

This commit is contained in:
Paul Hawke 2017-07-16 13:04:24 -05:00
parent 44d294efaf
commit a91d32f22a

View file

@ -22,10 +22,11 @@ import fr.free.nrw.commons.BuildConfig;
import fr.free.nrw.commons.R; import fr.free.nrw.commons.R;
import fr.free.nrw.commons.location.LatLng; import fr.free.nrw.commons.location.LatLng;
import static org.junit.Assert.*; import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@RunWith(RobolectricTestRunner.class) @RunWith(RobolectricTestRunner.class)
@Config(constants = BuildConfig.class) @Config(constants = BuildConfig.class, sdk = 21)
public class NearbyAdapterFactoryTest { public class NearbyAdapterFactoryTest {
private static final Place PLACE = new Place("name", Place.Description.AIRPORT, private static final Place PLACE = new Place("name", Place.Description.AIRPORT,