Skip to content

Commit 757f72d

Browse files
committed
Update Config Test with new Audience
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
1 parent 161ea05 commit 757f72d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/infrastructure/config/config_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func TestConfig_NewInstance(t *testing.T) {
2424
Port: "8080",
2525
Debug: false,
2626
JWKSUrl: "http://heimdall:4457/.well-known/jwks",
27-
Audience: "access-check",
27+
Audience: "lfx-v2-access-check",
2828
Issuer: "heimdall",
2929
NATSUrl: "nats://nats:4222",
3030
}
@@ -67,7 +67,7 @@ func TestLoadConfig_Defaults(t *testing.T) {
6767
if config.JWKSUrl != "http://heimdall:4457/.well-known/jwks" {
6868
t.Errorf("Expected default JWKSUrl, got '%s'", config.JWKSUrl)
6969
}
70-
if config.Audience != "access-check" {
70+
if config.Audience != "lfx-v2-access-check" {
7171
t.Errorf("Expected default Audience to be 'access-check', got '%s'", config.Audience)
7272
}
7373
if config.Issuer != "heimdall" {

0 commit comments

Comments
 (0)