Skip to content

Commit

Permalink
fix mockattributionfetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddie Beyl committed Apr 25, 2022
1 parent 4a952c4 commit 3811408
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Tests/UnitTests/Mocks/MockAttributionFetcher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ class MockAttributionFetcher: AttributionFetcher {
completionHandler(["Version3.1": ["iad-campaign-id": 15292426, "iad-attribution": true] as NSObject], nil)
}

override func adServicesToken(completion: @escaping (String?, Error?) -> Void) {
@available(iOS 14.3, macOS 11.1, macCatalyst 14.3, *)
override func adServicesToken() -> String? {
adServicesTokenCollected = true
completion("test", nil)
return "test"
}
}

0 comments on commit 3811408

Please sign in to comment.