Sam King hai 1 ano
pai
achega
47a367a7a4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      TrioTests/JSONImporterTests.swift

+ 1 - 1
TrioTests/JSONImporterTests.swift

@@ -248,7 +248,7 @@ class BundleReference {}
         #expect(determination.threshold == Decimal(string: "3.7").map(NSDecimalNumber.init))
         #expect(determination.carbRatio == nil) // not present in JSON
 
-        let forecasts = try await CoreDataStack.shared.fetchEntitiesAsync(
+        let forecasts = try await coreDataStack.fetchEntitiesAsync(
             ofType: Forecast.self,
             onContext: context,
             predicate: NSPredicate(format: "orefDetermination = %@", determination.objectID),