From ac52a4f967eb1c2d644c7dfcceef0d4a5855f0d9 Mon Sep 17 00:00:00 2001
From: Pascal Bleser
Date: Tue, 28 Apr 2026 11:57:05 +0200
Subject: [PATCH] groupware: fix test logic error in the JMAP ws integration
test
---
pkg/jmap/integration_ws_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/jmap/integration_ws_test.go b/pkg/jmap/integration_ws_test.go
index 1d6a8c1bb4..1f6ebd0a13 100644
--- a/pkg/jmap/integration_ws_test.go
+++ b/pkg/jmap/integration_ws_test.go
@@ -230,7 +230,7 @@ func TestWs(t *testing.T) {
slices.Sort(emailIds)
b := make([]string, len(changes.Destroyed))
copy(b, changes.Destroyed)
- slices.Sort(changes.Destroyed)
+ slices.Sort(b)
require.EqualValues(a, b)
}
require.Empty(changes.Updated)