mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-21 19:42:59 +08:00
Update RKMappingTest to support easier testing of RKEntityMapping objects by reducing the amount of required configuration to get a test configured.
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
{
|
||||
NSAssert(entity, @"Cannot find existing managed object without a target class");
|
||||
NSAssert(primaryKeyAttribute, @"Cannot find existing managed object instance without mapping that defines a primaryKeyAttribute");
|
||||
NSAssert(primaryKeyValue, @"Cannot find existing managed object by primary key without a value");
|
||||
NSAssert(managedObjectContext, @"Cannot find existing managed object with a context");
|
||||
|
||||
id searchValue = primaryKeyValue;
|
||||
|
||||
Reference in New Issue
Block a user