mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-05-09 17:48:20 +00:00
Enable Debug Output for tests
This commit is contained in:
parent
a6a98a6887
commit
360cc3748e
1 changed files with 6 additions and 0 deletions
|
@ -31,6 +31,9 @@ func TestMain(m *testing.M) {
|
||||||
panic(fmt.Errorf("Creating Registration Client: %w", err))
|
panic(fmt.Errorf("Creating Registration Client: %w", err))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Debug Output
|
||||||
|
rc.Debug = true
|
||||||
|
|
||||||
ctx := context.TODO()
|
ctx := context.TODO()
|
||||||
|
|
||||||
privkey, err := SetupAccount(ctx, rc, userID, token, "password123")
|
privkey, err := SetupAccount(ctx, rc, userID, token, "password123")
|
||||||
|
@ -43,6 +46,9 @@ func TestMain(m *testing.M) {
|
||||||
panic(fmt.Errorf("Setup Client: %w", err))
|
panic(fmt.Errorf("Setup Client: %w", err))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Debug Output
|
||||||
|
c.Debug = true
|
||||||
|
|
||||||
c.Login(ctx)
|
c.Login(ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(fmt.Errorf("Login Client: %w", err))
|
panic(fmt.Errorf("Login Client: %w", err))
|
||||||
|
|
Loading…
Add table
Reference in a new issue