Testing: fixed unit tests

This commit is contained in:
Daniel Dakhno 2024-03-05 00:11:21 +01:00
parent ee1c3e4db9
commit afe3c1fd50
2 changed files with 0 additions and 6 deletions

View File

@ -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();

View File

@ -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);