Skip to content

Commit

Permalink
testNotifyServerSubscribeAndNotifies fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
flypaper0 committed Jun 28, 2023
1 parent 86c4218 commit 7989dc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Example/IntegrationTests/Push/PushTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ final class PushTests: XCTestCase {
let pushMessage = PushMessage.stub()

let metadata = AppMetadata(name: "GM Dapp", description: "", url: "https://gm-dapp-xi.vercel.app/", icons: [])
try! await walletPushClient.subscribe(metadata: metadata, account: Account.stub(), onSign: sign)
try! await walletPushClient.enableSync(account: account, onSign: sign)
try! await walletPushClient.subscribe(metadata: metadata, account: account, onSign: sign)
var subscription: PushSubscription!
walletPushClient.subscriptionsPublisher
.first()
Expand Down

0 comments on commit 7989dc1

Please sign in to comment.