From a87d7a2891e74e85b7fc7a639394515c2243ac98 Mon Sep 17 00:00:00 2001 From: Domingos Creado Date: Tue, 6 Jun 2023 17:40:57 -0300 Subject: [PATCH] enhance test for 2.3 specific client attrs --- internal/provider/client_test.go | 2 ++ internal/provider/constants_test.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/internal/provider/client_test.go b/internal/provider/client_test.go index 47f939f6..23d4f882 100644 --- a/internal/provider/client_test.go +++ b/internal/provider/client_test.go @@ -436,6 +436,8 @@ func TestClientAllAttributes23(t *testing.T) { resource.TestCheckResourceAttr("authlete_client.client1", "request_object_encryption_enc_match_required", "true"), resource.TestCheckResourceAttr("authlete_client.client1", "digest_algorithm", "SHA-256"), resource.TestCheckResourceAttr("authlete_client.client1", "single_access_token_per_subject", "true"), + resource.TestCheckResourceAttr("authlete_client.client1", "pkce_required", "true"), + resource.TestCheckResourceAttr("authlete_client.client1", "pkce_s256_required", "false"), ), }, { diff --git a/internal/provider/constants_test.go b/internal/provider/constants_test.go index 051f011b..af7ad1bd 100644 --- a/internal/provider/constants_test.go +++ b/internal/provider/constants_test.go @@ -1515,6 +1515,8 @@ resource "authlete_client" "client1" { request_object_encryption_enc_match_required = true digest_algorithm = "SHA-256" single_access_token_per_subject = true + pkce_required = true + pkce_s256_required = false } ` const clientSecretSupportClientTests = `