From ee133f87ae03981b7c69c97c38ea53cbec66c44b Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Thu, 5 Apr 2018 10:56:55 +0200 Subject: [PATCH] fix test --- .../androidaps/plugins/ConstraintsSafety/SafetyPluginTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/test/java/info/nightscout/androidaps/plugins/ConstraintsSafety/SafetyPluginTest.java b/app/src/test/java/info/nightscout/androidaps/plugins/ConstraintsSafety/SafetyPluginTest.java index bfe430ccf5..0bd35e49ff 100644 --- a/app/src/test/java/info/nightscout/androidaps/plugins/ConstraintsSafety/SafetyPluginTest.java +++ b/app/src/test/java/info/nightscout/androidaps/plugins/ConstraintsSafety/SafetyPluginTest.java @@ -230,6 +230,7 @@ public class SafetyPluginTest { AAPSMocker.mockConstraintsChecker(); AAPSMocker.mockSP(); AAPSMocker.mockStrings(); + AAPSMocker.mockBus(); when(MainApp.getConfigBuilder().getActivePump()).thenReturn(pump);