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