diff --git a/app/src/test/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceCommunicationServiceTestCase.java b/app/src/test/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceCommunicationServiceTestCase.java index ebd87b2ff..b066b54c2 100644 --- a/app/src/test/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceCommunicationServiceTestCase.java +++ b/app/src/test/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceCommunicationServiceTestCase.java @@ -84,7 +84,6 @@ public class DeviceCommunicationServiceTestCase extends TestBase { @Test public void ensureConnected() { - mDeviceService.start(); // connection goes synchronously here mDeviceService.forDevice(getDevice()).connect(); Mockito.verify(mockSupport, Mockito.times(1)).connect(); diff --git a/app/src/test/java/nodomain/freeyourgadget/gadgetbridge/service/TestDeviceService.java b/app/src/test/java/nodomain/freeyourgadget/gadgetbridge/service/TestDeviceService.java index eb643bf10..bd4818f33 100644 --- a/app/src/test/java/nodomain/freeyourgadget/gadgetbridge/service/TestDeviceService.java +++ b/app/src/test/java/nodomain/freeyourgadget/gadgetbridge/service/TestDeviceService.java @@ -47,11 +47,6 @@ class TestDeviceService extends GBDeviceService { super.invokeService(intent); } - @Override - public void start() { - super.start(); - } - @Override protected void stopService(Intent intent) { super.stopService(intent);