Skip to content

Commit 7a47eba

Browse files
committed
Fix tests
1 parent 2c053af commit 7a47eba

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

LoopTests/Managers/MealDetectionManagerTests.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,14 +176,10 @@ class MealDetectionManagerTests: XCTestCase {
176176
var bolusDurationEstimator: ((Double) -> TimeInterval?)!
177177

178178
@discardableResult func setUp(for testType: MissedMealTestType) -> [GlucoseEffectVelocity] {
179-
let healthStore = HKHealthStoreMock()
180-
181179
carbStore = CarbStore(
182-
healthStore: healthStore,
183180
cacheStore: PersistenceController(directoryURL: URL(fileURLWithPath: NSTemporaryDirectory(), isDirectory: true).appendingPathComponent(UUID().uuidString, isDirectory: true)),
184181
cacheLength: .hours(24),
185182
defaultAbsorptionTimes: (fast: .minutes(30), medium: .hours(3), slow: .hours(5)),
186-
observationInterval: 0,
187183
overrideHistory: TemporaryScheduleOverrideHistory(),
188184
provenanceIdentifier: Bundle.main.bundleIdentifier!,
189185
test_currentDate: testType.currentDate)

0 commit comments

Comments
 (0)