more tests: entity fetching + erase
This commit is contained in:
parent
1a52952ff8
commit
d4fa6846b3
3 changed files with 79 additions and 11 deletions
|
|
@ -324,7 +324,7 @@ public class PasswordStore {
|
|||
PersistenceController.shared.save()
|
||||
}
|
||||
|
||||
public func deleteCoreData() {
|
||||
private func deleteCoreData() {
|
||||
PasswordEntity.deleteAll(in: context)
|
||||
PersistenceController.shared.save()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue