Skip to content

Commit

Permalink
Removed an InitConfig that was introduced in a rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Emma Turetsky committed Feb 21, 2025
1 parent 8fb8aba commit c478bba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion director/fed_token_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
"github.com/lestrrat-go/jwx/v2/jwt"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/pelicanplatform/pelican/config"
"github.com/pelicanplatform/pelican/param"
Expand Down Expand Up @@ -237,7 +238,8 @@ func TestCreateFedTok(t *testing.T) {
BrokerEndpoint: "https://dne-broker.com",
}
config.SetFederation(fed)
config.InitConfig() // Helps us populate the keys directory with a signing key
err := config.InitServer(c, server_structs.RegistryType) // Helps us populate the keys directory with a signing key
require.NoError(t, err)

allowedPrefixesForCaches.Store(&tc.allowedPrefixes)
rInfo := requestInfo{
Expand Down

0 comments on commit c478bba

Please sign in to comment.