Skip to content

Commit e0e9329

Browse files
committed
Fix test build failure
1 parent 8d29a83 commit e0e9329

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

WooCommerce/Classes/Bookings/BookingList/BookingListView.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ struct BookingListView: View {
3030
}
3131
}
3232
.navigationTitle(Localization.viewTitle)
33-
.toolbarBackground(Color(.listForeground(modal: false)), for: .navigationBar)
3433
.toolbar {
3534
ToolbarItem(placement: .confirmationAction) {
3635
Button {

WooCommerce/WooCommerceTests/ViewRelated/Bookings/BookingListViewModelTests.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -285,11 +285,7 @@ struct BookingListViewModelTests {
285285
let viewModel = BookingListViewModel(siteID: sampleSiteID, stores: stores)
286286

287287
// When
288-
await confirmation("Refresh completion") { confirmation in
289-
viewModel.onRefreshAction {
290-
confirmation()
291-
}
292-
}
288+
await viewModel.onRefreshAction()
293289

294290
// Then
295291
#expect(skip == 0)

0 commit comments

Comments
 (0)