mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-14 17:55:34 -04:00
bazel tidy
This commit is contained in:
parent
3f51297db5
commit
5bcd295921
81 changed files with 430 additions and 429 deletions
|
@ -11,7 +11,7 @@ import (
|
|||
"log/slog"
|
||||
"testing"
|
||||
|
||||
"github.com/edgelesssys/constellation/v2/internal/logger"
|
||||
"github.com/edgelesssys/constellation/v2/internal/logger"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
@ -39,7 +39,7 @@ func TestMAAPatch(t *testing.T) {
|
|||
t.Run(name, func(t *testing.T) {
|
||||
require := require.New(t)
|
||||
|
||||
c := &maaPatchCmd{log: slog.New(slog.NewTextHandler(logger.TestWriter{T: t}, nil)), patcher: tc.patcher}
|
||||
c := &maaPatchCmd{log: slog.New(slog.NewTextHandler(logger.TestWriter{T: t}, nil)), patcher: tc.patcher}
|
||||
err := c.patchMAA(&cobra.Command{}, tc.attestationURL)
|
||||
if tc.wantErr {
|
||||
require.Error(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue