Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhall committed Aug 30, 2024
1 parent 43f652d commit 5549e38
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ final class DataBrokerOperationActionTests: XCTestCase {
}

func testWhenActionNeedsEmail_thenExtractedProfileEmailIsSet() async {
let fillFormAction = FillFormAction(id: "1", actionType: .fillForm, selector: "#test", elements: [.init(type: "email", selector: "#email", parent: nil, multiple: nil)], dataSource: nil)
let fillFormAction = FillFormAction(id: "1", actionType: .fillForm, selector: "#test", elements: [.init(type: "email", selector: "#email", parent: nil, multiple: nil, min: nil, max: nil)], dataSource: nil)
let step = Step(type: .optOut, actions: [fillFormAction])
let sut = OptOutJob(
privacyConfig: PrivacyConfigurationManagingMock(),
Expand All @@ -152,7 +152,7 @@ final class DataBrokerOperationActionTests: XCTestCase {
}

func testWhenGetEmailServiceFails_thenOperationThrows() async {
let fillFormAction = FillFormAction(id: "1", actionType: .fillForm, selector: "#test", elements: [.init(type: "email", selector: "#email", parent: nil, multiple: nil)], dataSource: nil)
let fillFormAction = FillFormAction(id: "1", actionType: .fillForm, selector: "#test", elements: [.init(type: "email", selector: "#email", parent: nil, multiple: nil, min: nil, max: nil)], dataSource: nil)
let step = Step(type: .optOut, actions: [fillFormAction])
let sut = OptOutJob(
privacyConfig: PrivacyConfigurationManagingMock(),
Expand Down

0 comments on commit 5549e38

Please sign in to comment.