Skip to content

Commit 55cf35a

Browse files
committed
Update tests
1 parent 2620bfd commit 55cf35a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

LoopTests/Mock Stores/MockDoseStore.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import LoopKit
1111
@testable import Loop
1212

1313
class MockDoseStore: DoseStoreProtocol {
14-
1514
var doseHistory: [DoseEntry]?
1615
var sensitivitySchedule: InsulinSensitivitySchedule?
1716

@@ -55,7 +54,7 @@ class MockDoseStore: DoseStoreProtocol {
5554

5655
var lastAddedPumpData: Date
5756

58-
func addPumpEvents(_ events: [NewPumpEvent], lastReconciliation: Date?, completion: @escaping (DoseStore.DoseStoreError?) -> Void) {
57+
func addPumpEvents(_ events: [NewPumpEvent], lastReconciliation: Date?, replacePendingEvents: Bool, completion: @escaping (DoseStore.DoseStoreError?) -> Void) {
5958
completion(nil)
6059
}
6160

0 commit comments

Comments
 (0)