Skip to content

Commit

Permalink
Fix Analytics swift API tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsunghung committed Oct 20, 2023
1 parent 9129635 commit c46abb4
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions FirebaseAnalyticsSwift/Tests/SwiftUnit/AnalyticsAPITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,24 +64,6 @@ final class AnalyticsAPITests {

// MARK: - Consent

_ = FirebaseAnalytics.ConsentType.RawValue()
let consentType: FirebaseAnalytics.ConsentType! = nil
switch consentType! {
case .adPersonalization: break
case .adStorage: break
case .adUserData: break
case .analyticsStorage: break
@unknown default: break
}

_ = FirebaseAnalytics.ConsentStatus.RawValue()
let consentStatus: FirebaseAnalytics.ConsentStatus! = nil
switch consentStatus! {
case .denied: break
case .granted: break
@unknown default: break
}

Analytics.setConsent([.adPersonalization: .granted,
.adStorage: .denied,
.adUserData: .granted,
Expand Down

0 comments on commit c46abb4

Please sign in to comment.