fix tests

This commit is contained in:
Milos Kozak 2019-05-12 14:36:14 +02:00
parent 552298496f
commit 808a4177ca

View file

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