diff --git a/LocalPackages/DataBrokerProtection/Sources/DataBrokerProtection/Authentication/DataBrokerProtectionSubscriptionManaging.swift b/LocalPackages/DataBrokerProtection/Sources/DataBrokerProtection/Authentication/DataBrokerProtectionSubscriptionManaging.swift index 0661e3c05d..03d5044731 100644 --- a/LocalPackages/DataBrokerProtection/Sources/DataBrokerProtection/Authentication/DataBrokerProtectionSubscriptionManaging.swift +++ b/LocalPackages/DataBrokerProtection/Sources/DataBrokerProtection/Authentication/DataBrokerProtectionSubscriptionManaging.swift @@ -37,7 +37,8 @@ public final class DataBrokerProtectionSubscriptionManager: DataBrokerProtection public var accessToken: String? { // We use a staging token for privacy pro supplied through a github secret/action - // for PIR end to end tests + // for PIR end to end tests. This is also stored in bitwarden if you want to run + // the tests locally if NSApplication.runType == .integrationTests, let token = ProcessInfo.processInfo.environment["PRIVACYPRO_STAGING_TOKEN"] { return token }