fix tests
This commit is contained in:
parent
552298496f
commit
808a4177ca
|
@ -283,6 +283,8 @@ public class ConstraintsCheckerTest {
|
||||||
AAPSMocker.mockSP();
|
AAPSMocker.mockSP();
|
||||||
AAPSMocker.mockCommandQueue();
|
AAPSMocker.mockCommandQueue();
|
||||||
|
|
||||||
|
when(mainApp.getPackageName()).thenReturn("info.nightscout.androidaps");
|
||||||
|
|
||||||
// RS constructor
|
// RS constructor
|
||||||
when(SP.getString(R.string.key_danars_address, "")).thenReturn("");
|
when(SP.getString(R.string.key_danars_address, "")).thenReturn("");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue