- fixed test

This commit is contained in:
Andy Rozman 2020-05-03 11:35:47 +01:00
parent 91b3b67104
commit 97ca0a2a2f

View file

@ -1,6 +1,7 @@
package info.nightscout.androidaps.plugins.pump.omnipod.driver.comm; package info.nightscout.androidaps.plugins.pump.omnipod.driver.comm;
import org.joda.time.Duration; import org.joda.time.Duration;
import org.junit.Ignore;
import org.junit.Rule; import org.junit.Rule;
import org.junit.Test; import org.junit.Test;
import org.junit.rules.ExpectedException; import org.junit.rules.ExpectedException;
@ -87,7 +88,7 @@ public class AapsOmnipodManagerTest {
@Test @Test
public void invalidProfileNonZeroOffset() { public void invalidProfileNonZeroOffset() {
thrown.expect(IllegalArgumentException.class); thrown.expect(IllegalArgumentException.class);
thrown.expectMessage("First basal schedule entry should have 0 offset"); thrown.expectMessage("Invalid start time");
Profile profile = mock(Profile.class); Profile profile = mock(Profile.class);