Skip to content

Commit

Permalink
Add hasDefault
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhall committed Dec 11, 2024
1 parent 59b6a68 commit f18732b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ final class DataBrokerOperationActionTests: XCTestCase {

func testWhenClickActionRuns_thenStageIsSetToSubmit() async {
let mockStageCalculator = MockStageDurationCalculator()
let clickAction = ClickAction(id: "1", actionType: .click, elements: [PageElement](), dataSource: nil, choices: nil, default: nil)
let clickAction = ClickAction(id: "1", actionType: .click, elements: [PageElement](), dataSource: nil, choices: nil, default: nil, hasDefault: false)

Check failure on line 397 in LocalPackages/DataBrokerProtection/Tests/DataBrokerProtectionTests/DataBrokerOperationActionTests.swift

View workflow job for this annotation

GitHub Actions / Test (Non-Sandbox)

extra arguments at positions #1, #2, #3, #4, #5, #6, #7 in call

Check failure on line 397 in LocalPackages/DataBrokerProtection/Tests/DataBrokerProtectionTests/DataBrokerOperationActionTests.swift

View workflow job for this annotation

GitHub Actions / Test (Non-Sandbox)

missing argument for parameter 'from' in call

Check failure on line 397 in LocalPackages/DataBrokerProtection/Tests/DataBrokerProtectionTests/DataBrokerOperationActionTests.swift

View workflow job for this annotation

GitHub Actions / Test (Non-Sandbox)

cannot infer contextual base in reference to member 'click'

Check failure on line 397 in LocalPackages/DataBrokerProtection/Tests/DataBrokerProtectionTests/DataBrokerOperationActionTests.swift

View workflow job for this annotation

GitHub Actions / Test (Non-Sandbox)

'nil' requires a contextual type

Check failure on line 397 in LocalPackages/DataBrokerProtection/Tests/DataBrokerProtectionTests/DataBrokerOperationActionTests.swift

View workflow job for this annotation

GitHub Actions / Test (Non-Sandbox)

'nil' requires a contextual type

Check failure on line 397 in LocalPackages/DataBrokerProtection/Tests/DataBrokerProtectionTests/DataBrokerOperationActionTests.swift

View workflow job for this annotation

GitHub Actions / Test (Non-Sandbox)

'nil' requires a contextual type
let sut = OptOutJob(
privacyConfig: PrivacyConfigurationManagingMock(),
prefs: ContentScopeProperties.mock,
Expand Down

0 comments on commit f18732b

Please sign in to comment.