mirror of
https://github.com/zhigang1992/NTDCoreDataTableViewController.git
synced 2026-04-24 03:05:20 +08:00
Deleted last test.
Because Sut’s performFetch method can not be called in the getter of Sut’s fetchedResultsController. This will cause these two methods calling each other resulting in a infinite loop.
This commit is contained in:
@@ -84,14 +84,4 @@
|
||||
XCTAssertTrue([(NTDFakeCDTVC *)sut loggedError]);
|
||||
}
|
||||
|
||||
- (void)testSutsPerformFetchIsCalledAfterCreatingNewFrc
|
||||
{
|
||||
// given
|
||||
sut = [[NTDFakeCDTVC alloc] init];
|
||||
// when
|
||||
[sut fetchedResultsController];
|
||||
// then
|
||||
XCTAssertTrue([(NTDFakeCDTVC *)sut performFetchIsCalled]);;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user