Skip to content

Commit 2825e28

Browse files
committed
Remove redundant test
1 parent 451585e commit 2825e28

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

WordPress/WordPressTest/ReaderCardServiceTests.swift

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,6 @@ class ReaderCardServiceTests: CoreDataTestCase {
1515
remoteService = ReaderPostServiceRemoteMock()
1616
}
1717

18-
/// Returns an error if the user don't follow any Interest
19-
///
20-
func testReturnErrorWhenNotFollowingAnyInterest() {
21-
let expectation = self.expectation(description: "Error when now following interests")
22-
let service = ReaderCardService(service: remoteService, coreDataStack: contextManager, followedInterestsService: followedInterestsService)
23-
followedInterestsService.returnInterests = false
24-
25-
service.fetch(isFirstPage: true, success: { _, _ in }, failure: { error in
26-
expect(error).toNot(beNil())
27-
expectation.fulfill()
28-
})
29-
30-
waitForExpectations(timeout: 5, handler: nil)
31-
}
32-
3318
/// Save 10 cards in the database
3419
/// The API returns 11, but one of them is unknown and shouldn't be saved
3520
///

0 commit comments

Comments
 (0)