Skip to content

Commit

Permalink
Fix tests based on merged main changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aataraxiaa committed May 8, 2024
1 parent 4777819 commit ee49467
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,14 @@ final class DataBrokerOperationsCreatorTests: XCTestCase {

// Dependencies
private var mockDatabase: MockDatabase!
private var mockSchedulerConfig: MockSchedulerConfig!
private var mockSchedulerConfig = DataBrokerProtectionProcessorConfiguration()
private var mockRunnerProvider: MockRunnerProvider!
private var mockPixelHandler: MockPixelHandler!
private var mockUserNotification: MockUserNotification!
var mockDependencies: DefaultDataBrokerOperationDependencies!

override func setUpWithError() throws {
mockDatabase = MockDatabase()
mockSchedulerConfig = MockSchedulerConfig()
mockRunnerProvider = MockRunnerProvider()
mockPixelHandler = MockPixelHandler()
mockUserNotification = MockUserNotification()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -961,11 +961,6 @@ final class MockDataBrokerProtectionBackendServicePixels: DataBrokerProtectionBa
}
}

final class MockSchedulerConfig: SchedulerConfig {
let concurrentOperationsDifferentBrokers = 1
let intervalBetweenSameBrokerOperations: TimeInterval = 1
}

final class MockRunnerProvider: JobRunnerProvider {

func getJobRunner() -> any WebJobRunner {
Expand Down

0 comments on commit ee49467

Please sign in to comment.