Skip to content

Commit 7d39c57

Browse files
committed
update tests
1 parent 5cffc14 commit 7d39c57

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Modules/Tests/PointOfSaleTests/Presentation/Settings/POSSettingsLocalCatalogViewModelTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ struct POSSettingsLocalCatalogViewModelTests {
4949
await sut.loadCatalogData()
5050

5151
// Then
52-
#expect(sut.catalogSize == "150 products, 75 variations")
52+
#expect(sut.catalogSize == "150 products and 75 variations")
5353
#expect(sut.lastFullSyncDate.contains("ago"))
5454
#expect(sut.lastIncrementalSyncDate.contains("ago"))
5555
#expect(sut.isLoading == false)
@@ -81,7 +81,7 @@ struct POSSettingsLocalCatalogViewModelTests {
8181
await sut.loadCatalogData()
8282

8383
// Then
84-
#expect(sut.catalogSize == "100 products, 50 variations")
84+
#expect(sut.catalogSize == "100 products and 50 variations")
8585
#expect(sut.lastFullSyncDate == "Not updated")
8686
#expect(sut.lastIncrementalSyncDate == "Not updated")
8787
}
@@ -128,7 +128,7 @@ struct POSSettingsLocalCatalogViewModelTests {
128128
// Then
129129
#expect(catalogSyncCoordinator.performFullSyncInvocationCount == 1)
130130
#expect(catalogSyncCoordinator.performFullSyncSiteID == sampleSiteID)
131-
#expect(sut.catalogSize == "200 products, 100 variations")
131+
#expect(sut.catalogSize == "200 products and 100 variations")
132132
#expect(sut.isRefreshingCatalog == false)
133133
}
134134

@@ -198,7 +198,7 @@ struct POSSettingsLocalCatalogViewModelTests {
198198
await refreshTask.value
199199

200200
// Then
201-
#expect(sut.catalogSize == "100 products, 50 variations")
201+
#expect(sut.catalogSize == "100 products and 50 variations")
202202
#expect(sut.isLoading == false)
203203
#expect(sut.isRefreshingCatalog == false)
204204
#expect(catalogSyncCoordinator.performFullSyncInvocationCount == 1)

0 commit comments

Comments
 (0)