diff --git a/InternalTestApp/PrebidMobileDemoRendering/Model/TestCasesManager.swift b/InternalTestApp/PrebidMobileDemoRendering/Model/TestCasesManager.swift index 84671c9dd..e58e3ebc2 100644 --- a/InternalTestApp/PrebidMobileDemoRendering/Model/TestCasesManager.swift +++ b/InternalTestApp/PrebidMobileDemoRendering/Model/TestCasesManager.swift @@ -1048,9 +1048,8 @@ struct TestCaseManager { let interstitialController = PrebidInterstitialController(rootController: adapterVC) - let prebidStoredAuctionResponses = ["response-prebid-display-interstitial-320-480", "response-prebid-video-interstitial-320-480"] - interstitialController.prebidConfigId = "prebid-demo-display-interstitial-320-480-random" - interstitialController.storedAuctionResponse = prebidStoredAuctionResponses.randomElement() ?? prebidStoredAuctionResponses[0] + let configIds = ["prebid-ita-display-interstitial-320-480", "prebid-ita-video-interstitial-320-480"] + interstitialController.prebidConfigId = configIds.randomElement()! adapterVC.setup(adapter: interstitialController) @@ -1158,9 +1157,8 @@ struct TestCaseManager { let interstitialController = PrebidGAMInterstitialController(rootController: adapterVC) let gamAdUnitIds = ["/21808260008/prebid_html_interstitial", "/21808260008/prebid_oxb_interstitial_video"] - let prebidStoredAuctionResponses = ["response-prebid-display-interstitial-320-480", "response-prebid-video-interstitial-320-480"] - interstitialController.prebidConfigId = "prebid-demo-display-interstitial-320-480-random" - interstitialController.storedAuctionResponse = prebidStoredAuctionResponses[randomId] + let configIds = ["prebid-ita-display-interstitial-320-480", "prebid-ita-video-interstitial-320-480"] + interstitialController.prebidConfigId = configIds[randomId] interstitialController.gamAdUnitId = gamAdUnitIds[randomId] adapterVC.setup(adapter: interstitialController) @@ -2652,12 +2650,11 @@ struct TestCaseManager { let randomId = [0, 1].randomElement() ?? 0 let interstitialController = PrebidAdMobInterstitialViewController(rootController: adapterVC) let admobAdUnitIds = ["ca-app-pub-5922967660082475/3383099861", "ca-app-pub-5922967660082475/4527792002"] - let prebidStoredAuctionResponses = ["response-prebid-display-interstitial-320-480", "response-prebid-video-interstitial-320-480"] + interstitialController.adMobAdUnitId = admobAdUnitIds[randomId] - interstitialController.prebidConfigId = "prebid-ita-display-interstitial-320-480" + let configIds = ["prebid-ita-display-interstitial-320-480", "prebid-ita-video-interstitial-320-480"] + interstitialController.prebidConfigId = configIds[randomId] - interstitialController.storedAuctionResponse = prebidStoredAuctionResponses[randomId] - interstitialController.adMobAdUnitId = admobAdUnitIds[randomId] adapterVC.setup(adapter: interstitialController) setupCustomParams(for: interstitialController.prebidConfigId) @@ -3407,13 +3404,9 @@ struct TestCaseManager { let randomId = [0, 1].randomElement() ?? 0 let interstitialController = PrebidMAXInterstitialController(rootController: adapterVC) - let prebidStoredAuctionResponses = ["response-prebid-display-interstitial-320-480", "response-prebid-video-interstitial-320-480"] - - let prebidStoredImps = ["prebid-demo-display-interstitial-320-480-random", "prebid-ita-video-interstitial-320-480"] - - interstitialController.prebidConfigId = prebidStoredImps[randomId] + let configIds = ["prebid-ita-display-interstitial-320-480", "prebid-ita-video-interstitial-320-480"] + interstitialController.prebidConfigId = configIds.randomElement()! - interstitialController.storedAuctionResponse = prebidStoredAuctionResponses[randomId] interstitialController.maxAdUnitId = "78f9d445b8a1add7" adapterVC.setup(adapter: interstitialController) diff --git a/InternalTestApp/PrebidMobileDemoRendering/ViewControllers/Adapters/Prebid/AdMob/PrebidAdMobInterstitialViewController.swift b/InternalTestApp/PrebidMobileDemoRendering/ViewControllers/Adapters/Prebid/AdMob/PrebidAdMobInterstitialViewController.swift index b742c44b3..150e08d0b 100644 --- a/InternalTestApp/PrebidMobileDemoRendering/ViewControllers/Adapters/Prebid/AdMob/PrebidAdMobInterstitialViewController.swift +++ b/InternalTestApp/PrebidMobileDemoRendering/ViewControllers/Adapters/Prebid/AdMob/PrebidAdMobInterstitialViewController.swift @@ -60,10 +60,6 @@ class PrebidAdMobInterstitialViewController: NSObject, AdaptedController, Prebid setupAdapterController() } - deinit { - Prebid.shared.storedAuctionResponse = nil - } - func configurationController() -> BaseConfigurationController? { return BaseConfigurationController(controller: self) } diff --git a/InternalTestApp/PrebidMobileDemoRendering/ViewControllers/Adapters/Prebid/GAM/PrebidGAMInterstitialController.swift b/InternalTestApp/PrebidMobileDemoRendering/ViewControllers/Adapters/Prebid/GAM/PrebidGAMInterstitialController.swift index 88986e84f..ad67847dc 100644 --- a/InternalTestApp/PrebidMobileDemoRendering/ViewControllers/Adapters/Prebid/GAM/PrebidGAMInterstitialController.swift +++ b/InternalTestApp/PrebidMobileDemoRendering/ViewControllers/Adapters/Prebid/GAM/PrebidGAMInterstitialController.swift @@ -55,10 +55,6 @@ class PrebidGAMInterstitialController: NSObject, AdaptedController, PrebidConfig setupAdapterController() } - deinit { - Prebid.shared.storedAuctionResponse = nil - } - func configurationController() -> BaseConfigurationController? { return BaseConfigurationController(controller: self) } diff --git a/InternalTestApp/PrebidMobileDemoRendering/ViewControllers/Adapters/Prebid/MAX/PrebidMAXInterstitialController.swift b/InternalTestApp/PrebidMobileDemoRendering/ViewControllers/Adapters/Prebid/MAX/PrebidMAXInterstitialController.swift index 8d02b022b..218c44c2f 100644 --- a/InternalTestApp/PrebidMobileDemoRendering/ViewControllers/Adapters/Prebid/MAX/PrebidMAXInterstitialController.swift +++ b/InternalTestApp/PrebidMobileDemoRendering/ViewControllers/Adapters/Prebid/MAX/PrebidMAXInterstitialController.swift @@ -62,10 +62,6 @@ class PrebidMAXInterstitialController: NSObject, AdaptedController, PrebidConfig setupAdapterController() } - deinit { - Prebid.shared.storedAuctionResponse = nil - } - func configurationController() -> BaseConfigurationController? { return BaseConfigurationController(controller: self) } diff --git a/InternalTestApp/PrebidMobileDemoRendering/ViewControllers/Adapters/Prebid/OpenX/PrebidInterstitialController.swift b/InternalTestApp/PrebidMobileDemoRendering/ViewControllers/Adapters/Prebid/OpenX/PrebidInterstitialController.swift index 8b9403013..f6d947a00 100644 --- a/InternalTestApp/PrebidMobileDemoRendering/ViewControllers/Adapters/Prebid/OpenX/PrebidInterstitialController.swift +++ b/InternalTestApp/PrebidMobileDemoRendering/ViewControllers/Adapters/Prebid/OpenX/PrebidInterstitialController.swift @@ -55,7 +55,6 @@ class PrebidInterstitialController: NSObject, AdaptedController, PrebidConfigura deinit { Targeting.shared.sourceapp = nil - Prebid.shared.storedAuctionResponse = nil } func configurationController() -> BaseConfigurationController? {