Add two missing expectation fulfillments
It looks like two tests in FeedlySetStarredArticlesOperationTests created but never referenced XCTestExpectation instances. Based on the other nearby tests, add a call to `fulfill()` inside the associated completion block after the rest of our test assertions are done.
This commit is contained in:
parent
6c10774c4a
commit
e4c84bc501
@ -257,6 +257,7 @@ class FeedlySetStarredArticlesOperationTests: XCTestCase {
|
|||||||
.map { $0.articleID })
|
.map { $0.articleID })
|
||||||
|
|
||||||
XCTAssertEqual(idsOfStarredArticles, remainingStarredIds)
|
XCTAssertEqual(idsOfStarredArticles, remainingStarredIds)
|
||||||
|
fetchIdsExpectation.fulfill()
|
||||||
} catch let e {
|
} catch let e {
|
||||||
XCTFail("Error checking articles IDs: \(e)")
|
XCTFail("Error checking articles IDs: \(e)")
|
||||||
}
|
}
|
||||||
@ -315,6 +316,7 @@ class FeedlySetStarredArticlesOperationTests: XCTestCase {
|
|||||||
.map { $0.articleID })
|
.map { $0.articleID })
|
||||||
|
|
||||||
XCTAssertEqual(idsOfStarredArticles, remainingStarredIds)
|
XCTAssertEqual(idsOfStarredArticles, remainingStarredIds)
|
||||||
|
fetchIdsExpectation.fulfill()
|
||||||
} catch let e {
|
} catch let e {
|
||||||
XCTFail("Error checking articles IDs: \(e)")
|
XCTFail("Error checking articles IDs: \(e)")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user