Skip to content

Commit

Permalink
Extract SecureStorageTestUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
quanganhdo committed Jul 16, 2024
1 parent 3c3cb73 commit 9f25549
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ let package = Package(
.library(name: "NetworkProtection", targets: ["NetworkProtection"]),
.library(name: "NetworkProtectionTestUtils", targets: ["NetworkProtectionTestUtils"]),
.library(name: "SecureStorage", targets: ["SecureStorage"]),
.library(name: "SecureStorageTestsUtils", targets: ["SecureStorageTestsUtils"]),
.library(name: "Subscription", targets: ["Subscription"]),
.library(name: "SubscriptionTestingUtilities", targets: ["SubscriptionTestingUtilities"]),
.library(name: "History", targets: ["History"]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ private extension URL {
static let duckduckgo = URL(string: "https://duckduckgo.com/")!
}

// swiftlint:disable force_cast force_try identifier_name
internal class MockAutofillDatabaseProvider: AutofillDatabaseProvider {

var _accounts = [SecureVaultModels.WebsiteAccount]()
Expand Down Expand Up @@ -242,3 +243,4 @@ internal class MockAutofillDatabaseProvider: AutofillDatabaseProvider {
}

}
// swiftlint:enable force_cast force_try identifier_name

0 comments on commit 9f25549

Please sign in to comment.