PersistenceController tests
This commit is contained in:
parent
cde82d956b
commit
b8b7e1f913
4 changed files with 112 additions and 7 deletions
|
|
@ -20,7 +20,7 @@ class CoreDataTestCase: XCTestCase {
|
|||
override func setUpWithError() throws {
|
||||
try super.setUpWithError()
|
||||
|
||||
controller = PersistenceController(isUnitTest: true)
|
||||
controller = PersistenceController.forUnitTests()
|
||||
}
|
||||
|
||||
override func tearDown() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue