Allow unit-testing in SPM builds

This commit is contained in:
John Estropia
2022-08-16 11:55:44 +08:00
parent da4ac192db
commit 7f4cfaf5a0
5 changed files with 30 additions and 16 deletions

View File

@@ -84,7 +84,7 @@ final class ErrorTests: XCTestCase {
let schemaHistory = SchemaHistory(
XcodeDataModelSchema.from(
modelName: "Model",
bundle: Bundle(for: Self.self)
bundle: Bundle.module
)
)
let version = "1.0.0"