Skip to content

Commit

Permalink
Removed assertions on acceptableContentTypes.count and acceptableStat…
Browse files Browse the repository at this point in the history
…usCodes.count as this is now handled by isEqual assertions
  • Loading branch information
quellish committed Mar 14, 2016
1 parent f3a7adf commit ca22ad5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Tests/Tests/AFImageResponseSerializerTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ - (void)testImageSerializerCanBeCopied {
AFImageResponseSerializer *copiedSerializer = [responseSerializer copy];
XCTAssertNotNil(copiedSerializer);
XCTAssertNotEqual(copiedSerializer, responseSerializer);
XCTAssertTrue(copiedSerializer.acceptableContentTypes.count == responseSerializer.acceptableContentTypes.count);
XCTAssertTrue(copiedSerializer.acceptableStatusCodes.count == responseSerializer.acceptableStatusCodes.count);
XCTAssertTrue([copiedSerializer.acceptableContentTypes isEqualToSet:responseSerializer.acceptableContentTypes]);
XCTAssertTrue([copiedSerializer.acceptableStatusCodes isEqualToIndexSet:responseSerializer.acceptableStatusCodes]);
XCTAssertTrue(copiedSerializer.automaticallyInflatesResponseImage == responseSerializer.automaticallyInflatesResponseImage);
Expand Down

0 comments on commit ca22ad5

Please sign in to comment.