Fix config test

This commit is contained in:
Daniel Ponte 2024-11-24 15:45:29 -05:00
parent 4bee6840dc
commit b9a00e1bdc

View file

@ -62,7 +62,7 @@ var expCfg = &Config{
},
},
Relay: []Relay{
Relay{
{
URL: "http://relay",
APIKey: "secret",
Required: true,
@ -71,7 +71,7 @@ var expCfg = &Config{
}
func TestConfigParse(t *testing.T) {
c := &Configuration{configPath: "testdata/testconfig.yaml"}
c := &Configuration{configPath: common.PtrTo("testdata/testconfig.yaml")}
err := c.read()
require.NoError(t, err)