mirror of
https://github.com/ProtonMail/protoncore_ios.git
synced 2026-01-16 23:00:24 +00:00
fix(linter): Fix recent swiftlint regressions.
Refs: https://gitlab.protontech.ch/apple/shared/protoncore/-/merge_requests/1571
This commit is contained in:
commit
5a995b2e99
4 changed files with 5 additions and 7 deletions
|
|
@ -136,7 +136,6 @@ final class FeatureFlagsTests: XCTestCase {
|
|||
XCTAssertTrue(sut.userId.isEmpty)
|
||||
}
|
||||
|
||||
|
||||
// MARK: - isEnabled
|
||||
|
||||
func test_isEnabled_returnsTrueIfFlagIsPresentAndEnabled() {
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ public final class LoginService: Login {
|
|||
public var startGeneratingAddress: (() -> Void)?
|
||||
public var startGeneratingKeys: (() -> Void)?
|
||||
|
||||
public init(api: APIService,
|
||||
public init(api: APIService,
|
||||
clientApp: ClientApp,
|
||||
minimumAccountType: AccountType,
|
||||
authenticator: AuthenticationManager? = nil,
|
||||
|
|
|
|||
|
|
@ -25,9 +25,9 @@
|
|||
var paymentStatusResponse: [String: Any] {
|
||||
[
|
||||
"Code": 1000,
|
||||
"Paypal" : 0,
|
||||
"Card" : 0,
|
||||
"Bitcoin" : 0,
|
||||
"InApp" : 1
|
||||
"Paypal": 0,
|
||||
"Card": 0,
|
||||
"Bitcoin": 0,
|
||||
"InApp": 1
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -64,4 +64,3 @@ public final class FeatureFlagsRepositoryMock: FeatureFlagsRepositoryProtocol {
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue