diff --git a/src/androidTest/java/com/nutomic/syncthingandroid/test/MockRestApi.java b/src/androidTest/java/com/nutomic/syncthingandroid/test/MockRestApi.java index 18cdf669..efc7ebd2 100644 --- a/src/androidTest/java/com/nutomic/syncthingandroid/test/MockRestApi.java +++ b/src/androidTest/java/com/nutomic/syncthingandroid/test/MockRestApi.java @@ -42,7 +42,7 @@ public class MockRestApi extends RestApi { } @Override - public List getDevices() { + public List getDevices(boolean includeLocal) { return new ArrayList<>(); } diff --git a/src/androidTest/java/com/nutomic/syncthingandroid/test/syncthing/RestApiTest.java b/src/androidTest/java/com/nutomic/syncthingandroid/test/syncthing/RestApiTest.java index 2fba8936..f0cc51dd 100644 --- a/src/androidTest/java/com/nutomic/syncthingandroid/test/syncthing/RestApiTest.java +++ b/src/androidTest/java/com/nutomic/syncthingandroid/test/syncthing/RestApiTest.java @@ -70,7 +70,7 @@ public class RestApiTest extends AndroidTestCase { @SmallTest public void testGetDevices() { - assertNotNull(mApi.getDevices()); + assertNotNull(mApi.getDevices(false)); } @MediumTest