From fc585e98a00ca15b02a736cd0263861de0f5b542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Lipinsk=C3=BD?= <6032558+Mr-Tao@users.noreply.github.com> Date: Sat, 29 Aug 2026 15:41:38 +0200 Subject: [PATCH] fix(player): publish speaker events immediately --- pkg/service/soundtouchweb/websocket_test.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkg/service/soundtouchweb/websocket_test.go b/pkg/service/soundtouchweb/websocket_test.go index e2a42861..8dd4e7bd 100644 --- a/pkg/service/soundtouchweb/websocket_test.go +++ b/pkg/service/soundtouchweb/websocket_test.go @@ -2,6 +2,10 @@ package soundtouchweb import ( "errors" + "github.com/gesellix/bose-soundtouch/pkg/client" + "github.com/gesellix/bose-soundtouch/pkg/models" + "github.com/gesellix/bose-soundtouch/pkg/service/soundtouchweb/webtypes" + "github.com/gorilla/websocket" "net/http" "net/http/httptest" "strings" @@ -9,11 +13,6 @@ import ( "sync/atomic" "testing" "time" - - "github.com/gesellix/bose-soundtouch/pkg/client" - "github.com/gesellix/bose-soundtouch/pkg/models" - "github.com/gesellix/bose-soundtouch/pkg/service/soundtouchweb/webtypes" - "github.com/gorilla/websocket" ) func TestUpdateDeviceStatusRefreshesGroup(t *testing.T) {