diff --git a/CriteoPublisherSdk/Sources/MRAID/MessageHandlers/MRAIDMessaheHandler.swift b/CriteoPublisherSdk/Sources/MRAID/MessageHandlers/MRAIDMessaheHandler.swift index fb860a2a..fadedc85 100644 --- a/CriteoPublisherSdk/Sources/MRAID/MessageHandlers/MRAIDMessaheHandler.swift +++ b/CriteoPublisherSdk/Sources/MRAID/MessageHandlers/MRAIDMessaheHandler.swift @@ -25,9 +25,9 @@ public protocol MRAIDMessageHandlerDelegate: AnyObject { } public struct MRAIDMessageHandler { - private unowned var logHandler: MRAIDLogHandler - private unowned var urlHandler: MRAIDURLHandler - public unowned var delegate: MRAIDMessageHandlerDelegate! + private var logHandler: MRAIDLogHandler + private var urlHandler: MRAIDURLHandler + public var delegate: MRAIDMessageHandlerDelegate! public init(logHandler: MRAIDLogHandler, urlHandler: MRAIDURLHandler) { self.logHandler = logHandler diff --git a/CriteoPublisherSdk/Tests/TestPlans/CriteoPublisherSdkMC2.xctestplan b/CriteoPublisherSdk/Tests/TestPlans/CriteoPublisherSdkMC2.xctestplan index 4b00adaa..813aa42d 100644 --- a/CriteoPublisherSdk/Tests/TestPlans/CriteoPublisherSdkMC2.xctestplan +++ b/CriteoPublisherSdk/Tests/TestPlans/CriteoPublisherSdkMC2.xctestplan @@ -30,7 +30,9 @@ "CRBannerViewTests\/testAllowNavigationActionPolicyForWebView", "CRBannerViewTests\/testWithRendering", "CRInterstitialDelegateTests\/testCacheHasAdButAdContentFetchFailed", + "CRInterstitialDelegateTests\/testInterstitialAdFetchFail", "CRInterstitialDelegateTests\/testInterstitialDidReceiveAd", + "CRInterstitialDelegateTests\/testInterstitialLoadFailWhenBidIsNil", "CRInterstitialDelegateTests\/testInterstitialWillAndDidAppear", "CRInterstitialDelegateTests\/testInterstitialWillandDidDisappear", "CRInterstitialDelegateTests\/testNoDelegateMethodCalledInDecidePolicyForNavigationResponse", @@ -163,6 +165,7 @@ "CR_RegistrationFunctionalTests\/test_givenCriteoInitWithBanner_whenRegisterTwice_thenOneCBDCall", "CR_RegistrationFunctionalTests\/test_givenCriteoInitWithInterstitial_whenRegisterTwice_thenOneCBDCall", "CR_RegistrationFunctionalTests\/test_givenCriteoInitWithNative_whenRegisterTwice_thenOneCBDCall", + "CR_StandaloneBannerFunctionalTests", "CR_StandaloneBannerFunctionalTests\/test_givenBannerWithAppStoreClickUrl_whenClickUrl_thenOpenStoreKitController", "CR_StandaloneBannerFunctionalTests\/test_givenBannerWithGoodAdUnitId_whenLoadAd_thenAdIsLoadedProperly", "CR_URLResolverTests\/testResolutionToAppStoreURLWithRedirects",