From dfde81a7fccc8bfaf189a9bf46ccac79ac0ff20b Mon Sep 17 00:00:00 2001 From: Fernando Bunn Date: Tue, 3 Sep 2024 17:24:41 +0100 Subject: [PATCH] Linter --- .../DefaultDuckPlayerOnboardingDeciderTests.swift | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/UnitTests/YoutubePlayer/DefaultDuckPlayerOnboardingDeciderTests.swift b/UnitTests/YoutubePlayer/DefaultDuckPlayerOnboardingDeciderTests.swift index d76d51e77a..b68bac0d95 100644 --- a/UnitTests/YoutubePlayer/DefaultDuckPlayerOnboardingDeciderTests.swift +++ b/UnitTests/YoutubePlayer/DefaultDuckPlayerOnboardingDeciderTests.swift @@ -26,7 +26,6 @@ final class DefaultDuckPlayerOnboardingDeciderTests: XCTestCase { static let defaultsName = "TestDefaults" var experiment: MockOnboardingExperimentManager! - override func setUp() { super.setUp() defaults = UserDefaults(suiteName: DefaultDuckPlayerOnboardingDeciderTests.defaultsName)! @@ -102,7 +101,7 @@ final class DefaultDuckPlayerOnboardingDeciderTests: XCTestCase { ) ) - let onboardingDecider = DefaultDuckPlayerOnboardingDecider(defaults: defaults, + let onboardingDecider = DefaultDuckPlayerOnboardingDecider(defaults: defaults, preferences: preferences, onboardingExperiment: experiment) XCTAssertTrue(onboardingDecider.canDisplayOnboarding) @@ -163,11 +162,11 @@ final class MockOnboardingExperimentManager: OnboardingExperimentManager { var cohortUser: Bool = true func assignUserToCohort() { } - func getPixelParameters(cohort: Bool, date: Bool, experimentName: Bool) -> [String: String]? { + func getPixelParameters(cohort: Bool, date: Bool, experimentName: Bool) -> [String: String]? { return nil } func fireWeeklyUniqueViewPixel(extraParams: [String: String]?) { } - + var isUserAssignedToExperimentCohort: Bool { cohortUser }