diff --git a/AmplifyPlugins/Analytics/Tests/AWSPinpointAnalyticsPluginUnitTests/Mocks/MockAWSPinpoint+Analytics.swift b/AmplifyPlugins/Analytics/Tests/AWSPinpointAnalyticsPluginUnitTests/Mocks/MockAWSPinpoint+Analytics.swift index a6235dc850..8de6ddffea 100644 --- a/AmplifyPlugins/Analytics/Tests/AWSPinpointAnalyticsPluginUnitTests/Mocks/MockAWSPinpoint+Analytics.swift +++ b/AmplifyPlugins/Analytics/Tests/AWSPinpointAnalyticsPluginUnitTests/Mocks/MockAWSPinpoint+Analytics.swift @@ -12,7 +12,7 @@ import StoreKit @testable import AWSPinpointAnalyticsPlugin @_spi(InternalAWSPinpoint) @testable import InternalAWSPinpoint -public extension MockAWSPinpoint { +extension MockAWSPinpoint { func addGlobalProperty(_ value: AnalyticsPropertyValue, forKey: String) { if let value = value as? String { addGlobalAttribute(value, forKey: forKey) @@ -164,7 +164,7 @@ public extension MockAWSPinpoint { } - internal func setRemoteGlobalAttributes(_ attributes: [String: String]) async { + func setRemoteGlobalAttributes(_ attributes: [String: String]) async { } } diff --git a/AmplifyPlugins/Analytics/Tests/AWSPinpointAnalyticsPluginUnitTests/Mocks/MockAWSPinpoint+Targeting.swift b/AmplifyPlugins/Analytics/Tests/AWSPinpointAnalyticsPluginUnitTests/Mocks/MockAWSPinpoint+Targeting.swift index 234741b138..3dd090cf08 100644 --- a/AmplifyPlugins/Analytics/Tests/AWSPinpointAnalyticsPluginUnitTests/Mocks/MockAWSPinpoint+Targeting.swift +++ b/AmplifyPlugins/Analytics/Tests/AWSPinpointAnalyticsPluginUnitTests/Mocks/MockAWSPinpoint+Targeting.swift @@ -10,7 +10,7 @@ import Foundation @testable import AWSPinpointAnalyticsPlugin @_spi(InternalAWSPinpoint) @testable import InternalAWSPinpoint -public extension MockAWSPinpoint { +extension MockAWSPinpoint { func currentEndpointProfile() -> PinpointEndpointProfile { currentEndpointProfileCalled += 1