- fixed test
This commit is contained in:
parent
91b3b67104
commit
97ca0a2a2f
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue