Skip to content

Commit 390a67f

Browse files
committed
Fix unit tests build failures.
1 parent c2a340b commit 390a67f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

WooCommerce/WooCommerceTests/AppCoordinatorTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ final class AppCoordinatorTests: XCTestCase {
2323
stores = MockStoresManager(sessionManager: sessionManager)
2424
storageManager = MockStorageManager()
2525
authenticationManager = AuthenticationManager()
26-
authenticationManager.initialize()
26+
authenticationManager.initialize(loggedOutAppSettings: MockLoggedOutAppSettings())
2727
}
2828

2929
override func tearDown() {

WooCommerce/WooCommerceTests/ViewRelated/CardPresentPayments/CardPresentPaymentsModalViewControllerTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ final class CardPresentPaymentsModalViewControllerTests: XCTestCase {
55
override func setUp() {
66
super.setUp()
77
// The NUX buttons require WordPressAuthenticator to be initialized
8-
AuthenticationManager().initialize()
8+
AuthenticationManager().initialize(loggedOutAppSettings: MockLoggedOutAppSettings())
99
}
1010

1111
func test_viewcontroller_presents_top_title_provided_by_viewmodel() throws {

0 commit comments

Comments
 (0)