mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Pinned the NearbyAdapterFactoryTest to api level 21 for the test.
This commit is contained in:
parent
44d294efaf
commit
a91d32f22a
1 changed files with 3 additions and 2 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue