From 50c34a41860e56c0b895429b338b61e5daf9853f Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Tue, 8 Feb 2022 19:45:39 +0100 Subject: [PATCH] fix(uno): repare not working test --- pkg/modules/libreoffice/uno/listener_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/modules/libreoffice/uno/listener_test.go b/pkg/modules/libreoffice/uno/listener_test.go index 49c9743f..ddd4815d 100644 --- a/pkg/modules/libreoffice/uno/listener_test.go +++ b/pkg/modules/libreoffice/uno/listener_test.go @@ -153,6 +153,11 @@ func TestListener_lock(t *testing.T) { t.Fatalf("expected no error from listener.start(), but got: %v", err) } + err = listener.lock(context.Background(), zap.NewNop()) + if err != nil { + t.Fatalf("expected no error from listener.lock(), but got: %v", err) + } + return listener }(), ctx: func() context.Context {