Skip to content

Commit 41ee907

Browse files
Fix unit tests
1 parent fdd2d59 commit 41ee907

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

WooCommerce/src/test/kotlin/com/woocommerce/android/ui/bookings/list/BookingListHandlerTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ class BookingListHandlerTest : BaseUnitTest() {
170170
start = Instant.now(),
171171
end = Instant.now() + Duration.ofDays(1),
172172
allDay = false,
173-
status = "confirmed",
173+
status = BookingEntity.Status.Confirmed,
174174
cost = "100.00",
175175
currency = "USD",
176176
customerId = 1L,

WooCommerce/src/test/kotlin/com/woocommerce/android/ui/bookings/list/BookingListViewModelTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class BookingListViewModelTest : BaseUnitTest() {
227227
start = Instant.now(),
228228
end = Instant.now() + Duration.ofDays(1),
229229
allDay = false,
230-
status = "confirmed",
230+
status = BookingEntity.Status.Confirmed,
231231
cost = "100.00",
232232
currency = "USD",
233233
customerId = 1L,

0 commit comments

Comments
 (0)