mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
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:
@@ -257,6 +257,7 @@ class FeedlySetStarredArticlesOperationTests: XCTestCase {
|
||||
.map { $0.articleID })
|
||||
|
||||
XCTAssertEqual(idsOfStarredArticles, remainingStarredIds)
|
||||
fetchIdsExpectation.fulfill()
|
||||
} catch let e {
|
||||
XCTFail("Error checking articles IDs: \(e)")
|
||||
}
|
||||
@@ -315,6 +316,7 @@ class FeedlySetStarredArticlesOperationTests: XCTestCase {
|
||||
.map { $0.articleID })
|
||||
|
||||
XCTAssertEqual(idsOfStarredArticles, remainingStarredIds)
|
||||
fetchIdsExpectation.fulfill()
|
||||
} catch let e {
|
||||
XCTFail("Error checking articles IDs: \(e)")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user