compile tests

This commit is contained in:
Elio Bischof
2024-12-10 17:45:12 +01:00
parent 0063fdaf20
commit eb4a91383e
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
package setup
import (
"context"
"encoding/base64"
"fmt"
"net/http"
@@ -238,7 +239,7 @@ Actions:
v := viper.New()
v.SetConfigType("yaml")
require.NoError(t, v.ReadConfig(strings.NewReader(tt.args.yaml)))
got := MustNewConfig(v)
got, _ := MustNewConfig(context.Background(), v)
tt.want(t, got)
})
}

View File

@@ -1,6 +1,7 @@
package start
import (
"context"
"encoding/base64"
"fmt"
"net"
@@ -275,7 +276,7 @@ Actions:
v := viper.New()
v.SetConfigType("yaml")
require.NoError(t, v.ReadConfig(strings.NewReader(tt.args.yaml)))
got := MustNewConfig(v)
got, _ := MustNewConfig(context.Background(), v)
tt.want(t, got)
})
}