PersistenceController tests

This commit is contained in:
Lysann Tranvouez 2026-03-09 14:04:12 +01:00
parent cde82d956b
commit b8b7e1f913
4 changed files with 112 additions and 7 deletions

View file

@ -20,7 +20,7 @@ class CoreDataTestCase: XCTestCase {
override func setUpWithError() throws {
try super.setUpWithError()
controller = PersistenceController(isUnitTest: true)
controller = PersistenceController.forUnitTests()
}
override func tearDown() {