From 360cc3748efa3462f94f222cb77a024871a83ded Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Fri, 24 Nov 2023 11:28:38 +0100 Subject: [PATCH] Enable Debug Output for tests --- helper/setup_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/helper/setup_test.go b/helper/setup_test.go index 8ec3d2f..1d99e2f 100644 --- a/helper/setup_test.go +++ b/helper/setup_test.go @@ -31,6 +31,9 @@ func TestMain(m *testing.M) { panic(fmt.Errorf("Creating Registration Client: %w", err)) } + // Debug Output + rc.Debug = true + ctx := context.TODO() privkey, err := SetupAccount(ctx, rc, userID, token, "password123") @@ -43,6 +46,9 @@ func TestMain(m *testing.M) { panic(fmt.Errorf("Setup Client: %w", err)) } + // Debug Output + c.Debug = true + c.Login(ctx) if err != nil { panic(fmt.Errorf("Login Client: %w", err))