Fix config test
This commit is contained in:
parent
4bee6840dc
commit
b9a00e1bdc
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue