Skip to content

Commit

Permalink
Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Bunn committed Sep 3, 2024
1 parent 5b9aadf commit dfde81a
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)!
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit dfde81a

Please sign in to comment.