Skip to content

Commit 9158f0c

Browse files
committed
Update MockPointOfSaleSoundPlayer.swift
1 parent 7b43959 commit 9158f0c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

WooCommerce/WooCommerceTests/POS/Mocks/MockPointOfSaleSoundPlayer.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@ final class MockPointOfSaleSoundPlayer: PointOfSaleSoundPlayerProtocol {
77
func playSound(_ sound: PointOfSaleSound) {
88
onPlaySound?(sound)
99
}
10+
11+
func playSound(_ sound: WooCommerce.PointOfSaleSound, completion: @escaping () -> Void) async {
12+
onPlaySound?(sound)
13+
}
1014
}

0 commit comments

Comments
 (0)