Преглед изворни кода

Remove usage of XCTestExpectation.inverted (not supported)

Henddher Pedroza пре 8 година
родитељ
комит
c69c109da8
1 измењених фајлова са 0 додато и 2 уклоњено
  1. 0 2
      Tests/Tests/AFImageDownloaderTests.m

+ 0 - 2
Tests/Tests/AFImageDownloaderTests.m

@@ -291,8 +291,6 @@
 
 - (void)testThatImageCacheIsPromptedShouldCacheNot {
     XCTestExpectation *expectation3 = [self expectationWithDescription:@"image 1 shouldCache called"];
-    XCTestExpectation *expectation4 = [self expectationWithDescription:@"image 1 & 2 addCache NOT called"];
-    expectation4.inverted = YES;
     
     MockAFAutoPurgingImageCache *mock = [[MockAFAutoPurgingImageCache alloc] init];
     mock.shouldCache = ^BOOL(UIImage *img, NSURLRequest *req, NSString *iden) {