Skip to content

Commit

Permalink
Enable Debug Output for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
speatzle committed Nov 24, 2023
1 parent a6a98a6 commit 360cc37
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions helper/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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))
Expand Down

0 comments on commit 360cc37

Please sign in to comment.