mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-08 15:02:18 -04:00
Wrote and applied helper function for tests
replaced with new function removed log/slog readded log/slog when needed fixed last testwriter problems
This commit is contained in:
parent
944bdedc59
commit
76ada50c17
55 changed files with 133 additions and 178 deletions
|
@ -15,7 +15,6 @@ import (
|
|||
"crypto/x509"
|
||||
"crypto/x509/pkix"
|
||||
"encoding/pem"
|
||||
"log/slog"
|
||||
"math/big"
|
||||
"strings"
|
||||
"testing"
|
||||
|
@ -186,7 +185,7 @@ Q29uc3RlbGxhdGlvbg==
|
|||
}
|
||||
|
||||
ca := New(
|
||||
slog.New(slog.NewTextHandler(logger.TestWriter{T: t}, nil)),
|
||||
logger.NewTest(t),
|
||||
fileHandler,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue