From a22a1029cb782c9fb69edc643c5438ec76da2d1d Mon Sep 17 00:00:00 2001 From: Abdul-Az Date: Mon, 13 Nov 2023 16:04:18 +0530 Subject: [PATCH] added empty comment Signed-off-by: Abdul-Az --- components/local-user-service/users/dex/dex_test.go | 1 + components/session-service/server/server_functional_test.go | 2 ++ 2 files changed, 3 insertions(+) diff --git a/components/local-user-service/users/dex/dex_test.go b/components/local-user-service/users/dex/dex_test.go index ba977e79c007..93f295de44c6 100644 --- a/components/local-user-service/users/dex/dex_test.go +++ b/components/local-user-service/users/dex/dex_test.go @@ -26,6 +26,7 @@ func TestDexUsersAdapter(t *testing.T) { // We need to load the dex certs for the dex server because // local user service checks the name the server gives back // matches automate-dex, which is in the automate-dex cert. + dexCerts := helpers.LoadDevCerts(t, "automate-dex") dexConnFactory := secureconn.NewFactory(*dexCerts) diff --git a/components/session-service/server/server_functional_test.go b/components/session-service/server/server_functional_test.go index 14e299f798c2..267ad8619846 100644 --- a/components/session-service/server/server_functional_test.go +++ b/components/session-service/server/server_functional_test.go @@ -2,6 +2,7 @@ // session-service, and use a standard http.Client to interacting with them. // These interactions do properly handle redirects and cookies, so they closely // approximate what happens in a real-world setting. + package server_test import ( @@ -59,6 +60,7 @@ func TestMain(t *testing.T) { s := httptest.NewUnstartedServer(mux) dexCerts := devDexCerts(t) s.TLS = &tls.Config{ + // We have to use the dex certs here because session-service is going // to check that the thing its talking to is automate-dex Certificates: []tls.Certificate{*dexCerts.ServiceKeyPair},