Test: fix other test
This commit is contained in:
parent
a936ff0616
commit
60b7a73558
|
@ -82,6 +82,7 @@ public class EntitiesTest extends TestBase {
|
||||||
@Test
|
@Test
|
||||||
public void testDBHelper() {
|
public void testDBHelper() {
|
||||||
GBDevice dummyGBDevice = createDummyGDevice("00:00:00:00:01");
|
GBDevice dummyGBDevice = createDummyGDevice("00:00:00:00:01");
|
||||||
|
dummyGBDevice.setState(GBDevice.State.INITIALIZED);
|
||||||
Device device = DBHelper.getDevice(dummyGBDevice, daoSession);
|
Device device = DBHelper.getDevice(dummyGBDevice, daoSession);
|
||||||
assertNotNull(device);
|
assertNotNull(device);
|
||||||
assertEquals("00:00:00:00:01", device.getIdentifier());
|
assertEquals("00:00:00:00:01", device.getIdentifier());
|
||||||
|
|
Loading…
Reference in New Issue