Skip to content

Commit 8f80c01

Browse files
committed
Update downloadable product scanning test
1 parent 61539f9 commit 8f80c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/Tests/YosemiteTests/PointOfSale/PointOfSaleLocalBarcodeScanServiceTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ struct PointOfSaleLocalBarcodeScanServiceTests {
154154
try await insertProduct(downloadableProduct)
155155

156156
// When/Then - Should not find the downloadable product
157-
await #expect(throws: PointOfSaleBarcodeScanError.notFound(scannedCode: barcode)) {
157+
await #expect(throws: PointOfSaleBarcodeScanError.downloadableProduct(scannedCode: barcode, productName: "Downloadable Product")) {
158158
_ = try await sut.getItem(barcode: barcode)
159159
}
160160
}

0 commit comments

Comments
 (0)