From 35911bfd6fa56d1c6b078277f6132de7fcdd32f0 Mon Sep 17 00:00:00 2001 From: patrick Date: Tue, 27 Oct 2026 12:54:20 +0100 Subject: [PATCH] fix(workflow): contracttest an moduleadapter.NewServer-Signatur angepasst NewServer verlangt seit ENG-06 einen TenantVerifier; der Vertragstest rief noch mit drei Argumenten auf, go vet schlug fehl. Stub wie beim backchannel-Vertragstest (alwaysValidVerifier). Co-Authored-By: Claude Sonnet 5.5 --- workflow/internal/contracttest/contracttest_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/internal/contracttest/contracttest_test.go b/workflow/internal/contracttest/contracttest_test.go index afafbe49..900fec03 100644 --- a/workflow/internal/contracttest/contracttest_test.go +++ b/workflow/internal/contracttest/contracttest_test.go @@ -99,7 +99,7 @@ func marshalFirstElement(t *testing.T, decoded map[string]any, key string) []byt func TestContract_ENG02_RegisterResponse(t *testing.T) { pool := testPool(t) token := "qa-06-vertragstest-token" - srv := moduleadapter.NewServer(pool, token, "mandant-vertragstest") + srv := moduleadapter.NewServer(pool, token, "mandant-vertragstest", alwaysValidVerifier{}) mux := http.NewServeMux() srv.RegisterRoutes(mux) server := httptest.NewServer(mux) -- 2.47.3