Skip to content

Commit 6293042

Browse files
committed
Fix unit tests from outdated strings.
1 parent aba8530 commit 6293042

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

WooCommerce/WooCommerceTests/POS/Presentation/Settings/POSSettingsLocalCatalogViewModelTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ struct POSSettingsLocalCatalogViewModelTests {
6060

6161
// Then
6262
#expect(sut.catalogSize == "Catalog size unavailable")
63-
#expect(sut.lastFullSyncDate == "Sync date unavailable")
64-
#expect(sut.lastIncrementalSyncDate == "Sync date unavailable")
63+
#expect(sut.lastFullSyncDate == "Update date unavailable")
64+
#expect(sut.lastIncrementalSyncDate == "Update date unavailable")
6565
}
6666

6767
@Test func loadCatalogData_sets_sync_dates_to_placeholder_when_sync_dates_are_nil() async throws {
@@ -78,8 +78,8 @@ struct POSSettingsLocalCatalogViewModelTests {
7878

7979
// Then
8080
#expect(sut.catalogSize == "100 products, 50 variations")
81-
#expect(sut.lastFullSyncDate == "Not synced")
82-
#expect(sut.lastIncrementalSyncDate == "Not synced")
81+
#expect(sut.lastFullSyncDate == "Not updated")
82+
#expect(sut.lastIncrementalSyncDate == "Not updated")
8383
}
8484

8585

0 commit comments

Comments
 (0)