override class func setUp() {
let mockPersistentContainer = NSPersistentContainer(name: "MySchema")
CoreDataTestCase.model = mockPersistentContainer.managedObjectModel
}
I tried moving the setup into the class setup function and got the same error, it seems that that should have fixed the thread issue?
Post
Replies
Boosts
Views
Activity
What would I need to do to make it thread safe?