Commit ec683974 by Dima Bart

Remove superfluous assertion.

parent 7e76ebc9
...@@ -192,9 +192,7 @@ ...@@ -192,9 +192,7 @@
XCTestExpectation *expectation = [self expectationWithDescription:NSStringFromSelector(_cmd)]; XCTestExpectation *expectation = [self expectationWithDescription:NSStringFromSelector(_cmd)];
[self.client getOrderWithID:self.customerOrderIDs.firstObject customerID:self.customer.identifier.stringValue callback:^(BUYOrder * _Nullable order, NSError * _Nullable error) { [self.client getOrderWithID:self.customerOrderIDs.firstObject customerID:self.customer.identifier.stringValue callback:^(BUYOrder * _Nullable order, NSError * _Nullable error) {
XCTAssertNotNil(order);
XCTAssertNil(error); XCTAssertNil(error);
XCTAssertTrue([order isKindOfClass:[BUYOrder class]]); XCTAssertTrue([order isKindOfClass:[BUYOrder class]]);
[expectation fulfill]; [expectation fulfill];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment