Skip to content

Commit

Permalink
testFetchHistory updated
Browse files Browse the repository at this point in the history
  • Loading branch information
flypaper0 committed Jan 26, 2024
1 parent b9c819a commit aa31a50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Example/IntegrationTests/Push/NotifyTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ final class NotifyTests: XCTestCase {

await fulfillment(of: [subscribeExpectation], timeout: InputConfig.defaultTimeout)

let hasMore = try await walletNotifyClientA.fetchHistory(subscription: subscription, after: nil, limit: 50)
let hasMore = try await walletNotifyClientA.fetchHistory(subscription: subscription, after: nil, limit: 20)
XCTAssertTrue(hasMore)
XCTAssertTrue(walletNotifyClientA.getMessageHistory(topic: subscription.topic).count > 40)
XCTAssertTrue(walletNotifyClientA.getMessageHistory(topic: subscription.topic).count == 20)
}
}

Expand Down

0 comments on commit aa31a50

Please sign in to comment.