From fdd725fd809f7b675b61ca28c863f0d2ceb7bcb3 Mon Sep 17 00:00:00 2001 From: Antti Hukkanen Date: Thu, 7 Dec 2023 12:02:24 +0200 Subject: [PATCH] Use the correct provider name in the authenticator spec --- .../helsinki_profile/authentication/authenticator_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/decidim/helsinki_profile/authentication/authenticator_spec.rb b/spec/lib/decidim/helsinki_profile/authentication/authenticator_spec.rb index 59045e3..21b2e8b 100644 --- a/spec/lib/decidim/helsinki_profile/authentication/authenticator_spec.rb +++ b/spec/lib/decidim/helsinki_profile/authentication/authenticator_spec.rb @@ -27,7 +27,7 @@ scope: Decidim::HelsinkiProfile.omniauth_secrets[:gdpr_uri] ) end - let(:oauth_provider) { "provider" } + let(:oauth_provider) { Decidim::HelsinkiProfile.auth_service_name } let(:oauth_uid) { profile[:id] } let(:oauth_name) { "Marja Mainio" } let(:oauth_image) { nil }