Skip to content

Commit ed604d9

Browse files
committed
Fix a compiling issue
1 parent 9ffcbc3 commit ed604d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

WordPress/WordPressTest/NSManagedObject+Fixture.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ extension NSManagedObject {
1111
/// - context: The managed object context to use
1212
/// - Returns: A new instance with property values of the given JSON file.
1313
static func fixture(fromFile fileName: String, context: NSManagedObjectContext) -> Self {
14-
guard let jsonObject = JSONLoader().loadFile(named: filename) else {
15-
fatalError("Mockup data could not be parsed, the filename is \(filename)")
14+
guard let jsonObject = JSONLoader().loadFile(named: fileName) else {
15+
fatalError("Mockup data could not be parsed, the filename is \(fileName)")
1616
}
1717
let model = Self.init(context: context)
1818
for (key, value) in jsonObject {

0 commit comments

Comments
 (0)