Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-stripe committed Oct 16, 2023
1 parent 00b7b23 commit e4781ea
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
//

@_spi(STP) import StripeCore
import UIKit
@_spi(STP) import StripePayments
@_spi(STP) import StripeUICore
import UIKit

class SepaMandateViewController: UIViewController, BottomSheetContentViewController {
let requiresFullScreen: Bool = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class SheetNavigationBar: UIView {

return button
}()

fileprivate lazy var titleLabel: UILabel = {
let label = PaymentSheetUI.makeHeaderLabel(appearance: appearance)
label.isHidden = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
import iOSSnapshotTestCase
@_spi(STP)@testable import StripeCore
@_spi(STP)@testable import StripePaymentSheet
@_spi(STP)@testable import StripeUICore
@testable import StripePaymentsTestUtils
@_spi(STP)@testable import StripeUICore

class AddressViewControllerSnapshotTests: FBSnapshotTestCase {
private let addressSpecProvider: AddressSpecProvider = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

import iOSSnapshotTestCase
import StripeCoreTestUtils
@_spi(STP) @testable import StripePayments
@_spi(STP) @testable import StripePaymentSheet
@testable import StripePaymentsTestUtils
@_spi(STP) @testable import StripeUICore
@_spi(STP) @testable import StripePayments
import XCTest
@testable import StripePaymentsTestUtils

final class SavedPaymentOptionsViewControllerSnapshotTests: FBSnapshotTestCase {
override func setUp() {
Expand All @@ -22,21 +22,21 @@ final class SavedPaymentOptionsViewControllerSnapshotTests: FBSnapshotTestCase {
func test_all_saved_pms_and_apple_pay_and_link_dark() {
_test_all_saved_pms_and_apple_pay_and_link(darkMode: true)
}

func test_all_saved_pms_and_apple_pay_and_link() {
_test_all_saved_pms_and_apple_pay_and_link(darkMode: false)
}

func test_all_saved_pms_and_apple_pay_and_link_custom_appearance() {
_test_all_saved_pms_and_apple_pay_and_link(darkMode: false, appearance: ._testMSPaintTheme)
}

func _test_all_saved_pms_and_apple_pay_and_link(darkMode: Bool, appearance: PaymentSheet.Appearance = .default) {
// Given saved card..
let paymentMethods = [
STPPaymentMethod._testCard(),
STPPaymentMethod._testUSBankAccount(),
STPPaymentMethod._testSEPA()
STPPaymentMethod._testSEPA(),
]
// ...saved US Bank Account...
// ...and saved SEPA PM...
Expand Down

0 comments on commit e4781ea

Please sign in to comment.