mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-28 08:27:26 +02:00
zero: fix bootstrap config path (#5035)
This commit is contained in:
parent
4193583301
commit
d20e99ca8c
7 changed files with 36 additions and 33 deletions
|
@ -11,7 +11,7 @@ import (
|
|||
func TestConfigDeterministic(t *testing.T) {
|
||||
secret := []byte("secret")
|
||||
|
||||
src, err := bootstrap.New(secret)
|
||||
src, err := bootstrap.New(secret, nil, nil)
|
||||
require.NoError(t, err)
|
||||
cfg := src.GetConfig()
|
||||
require.NotNil(t, cfg)
|
||||
|
@ -20,7 +20,7 @@ func TestConfigDeterministic(t *testing.T) {
|
|||
require.NoError(t, cfg.Options.Validate())
|
||||
|
||||
// test that the config is deterministic
|
||||
src2, err := bootstrap.New(secret)
|
||||
src2, err := bootstrap.New(secret, nil, nil)
|
||||
require.NoError(t, err)
|
||||
|
||||
cfg2 := src2.GetConfig()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue