fix(crypto): replace fips140 calls with fips calls BE-11979 (#1033)

This commit is contained in:
andres-portainer
2025-08-14 19:36:15 -03:00
committed by GitHub
parent 129b9d5db9
commit 10b129a02e
11 changed files with 38 additions and 7 deletions

View File

@@ -7,11 +7,14 @@ import (
"testing"
portainer "github.com/portainer/portainer/api"
"github.com/portainer/portainer/pkg/fips"
"github.com/stretchr/testify/require"
)
func TestCreateConnectionForURL(t *testing.T) {
fips.InitFIPS(false)
srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {}))
defer srv.Close()