mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-09 07:55:36 +00:00
compile tests
This commit is contained in:
@@ -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)
|
||||
})
|
||||
}
|
||||
|
@@ -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)
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user