mirror of
https://github.com/zhigang1992/MagicalRecord.git
synced 2026-05-30 00:03:17 +08:00
Fixing unit tests
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
- (void) testImportData
|
||||
{
|
||||
SingleEntityRelatedToManyMappedEntitiesUsingMappedPrimaryKey *entity = [[self testEntityClass] MR_importFromDictionary:self.testEntityData];
|
||||
SingleEntityRelatedToManyMappedEntitiesUsingMappedPrimaryKey *entity = [[self testEntityClass] MR_importFromObject:self.testEntityData];
|
||||
[[NSManagedObjectContext MR_defaultContext] MR_save];
|
||||
|
||||
assertThat(entity, is(notNilValue()));
|
||||
|
||||
Reference in New Issue
Block a user