mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-15 05:12:15 +01:00
added ObjectSnapshot as foundation for datasources API
This commit is contained in:
1 parent
cf46b45e8e
commit
79655ffde5
50 files changed
+434
-81
No files matched your search
@@ -40,7 +40,7 @@ class BaseTestCase: XCTestCase {
|
||||
|
||||
let stack = DataStack(
|
||||
xcodeModelName: "Model",
|
||||
bundle: Bundle(for: type(of: self))
|
||||
bundle: Bundle(for: Self.self)
|
||||
)
|
||||
do {
|
||||
|
||||
@@ -50,7 +50,7 @@ class BaseTestCase: XCTestCase {
|
||||
SQLiteStore(
|
||||
fileURL: SQLiteStore.defaultRootDirectory
|
||||
.appendingPathComponent(UUID().uuidString)
|
||||
.appendingPathComponent("\(type(of: self))_\(($0 ?? "-null-")).sqlite"),
|
||||
.appendingPathComponent("\(Self.self)_\(($0 ?? "-null-")).sqlite"),
|
||||
configuration: $0,
|
||||
localStorageOptions: .recreateStoreOnModelMismatch
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user