File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ - (instancetype)initWithModelName:(NSString *)modelName storeURL:(NSURL *)storeU
50
50
self = [super init ];
51
51
if (self) {
52
52
if (factory == nil ) {
53
- factory = [ContainerContextFactory class ];
53
+ factory = [LegacyContextFactory class ];
54
54
}
55
55
56
56
NSParameterAssert ([modelName isEqualToString: ContextManagerModelNameCurrent] || [modelName hasPrefix: @" WordPress " ]);
Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ class ContextManagerTests: XCTestCase {
176
176
// Discard the username change that's made above
177
177
contextManager. mainContext. reset ( )
178
178
179
+ XCTExpectFailure ( " Known issue: the mainContext is saved along with the `ContextManager.save` functions " )
179
180
expect ( try findFirstUser ( ) ? . username) == " First User "
180
181
}
181
182
You can’t perform that action at this time.
0 commit comments