Skip to content

Commit a59b252

Browse files
authored
Refactor FXIOS-12796 [Swift 6 Migration] Fix Swift 6 errors in Client unit tests for AddressListViewModelTests (#31009)
Fix AddressListViewModelTests warnings.
1 parent 2bc0f0a commit a59b252

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

firefox-ios/firefox-ios-tests/Tests/ClientTests/Autofill/AddressListViewModelTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ final class AddressListViewModelTests: XCTestCase {
7272
)
7373
]
7474

75-
override func setUp() {
76-
super.setUp()
75+
override func setUp() async throws {
76+
try await super.setUp()
7777
mockProfile = MockProfile()
7878
mockLogger = MockLogger()
7979
mockAutofill = MockAutofill()
@@ -87,11 +87,11 @@ final class AddressListViewModelTests: XCTestCase {
8787
)
8888
}
8989

90-
override func tearDown() {
90+
override func tearDown() async throws {
9191
viewModel = nil
9292
mockProfile = nil
9393
mockLogger = nil
94-
super.tearDown()
94+
try await super.tearDown()
9595
}
9696

9797
func testFetchAddressesSuccess() {

0 commit comments

Comments
 (0)