From bf95ae8e7144009378829ae0c7f44bfa5c738661 Mon Sep 17 00:00:00 2001 From: sahar Date: Thu, 17 Feb 2022 21:48:30 +0100 Subject: [PATCH] UsbPlayerTest.unmuteTest third Case correction of the Production Code --- src/main/java/device/usbPlayer/UsbPlayer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/device/usbPlayer/UsbPlayer.java b/src/main/java/device/usbPlayer/UsbPlayer.java index 1ad4b8d..6d8f2a0 100644 --- a/src/main/java/device/usbPlayer/UsbPlayer.java +++ b/src/main/java/device/usbPlayer/UsbPlayer.java @@ -193,6 +193,7 @@ public class UsbPlayer implements Device { public String unmute() { setLautstaerke(soundWas); + this.soundWas = 0; return "unmuted"; }