From ac353cafa0e1fb5e9f81aecbd9a9930bee45c1ea Mon Sep 17 00:00:00 2001 From: Pan Shao <97225342+pshao25@users.noreply.github.com> Date: Wed, 20 Nov 2024 17:12:35 +0800 Subject: [PATCH] Add some comment for test customization (#5170) Co-authored-by: Pan Shao --- .../CadlRanchProjects/authentication/oauth2/src/OAuth2Client.cs | 2 +- test/CadlRanchProjects/authentication/union/src/UnionClient.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CadlRanchProjects/authentication/oauth2/src/OAuth2Client.cs b/test/CadlRanchProjects/authentication/oauth2/src/OAuth2Client.cs index e486576d6c2..bd3728e5add 100644 --- a/test/CadlRanchProjects/authentication/oauth2/src/OAuth2Client.cs +++ b/test/CadlRanchProjects/authentication/oauth2/src/OAuth2Client.cs @@ -9,7 +9,7 @@ namespace Authentication.OAuth2 public partial class OAuth2Client { /// - /// The authorization scopes. + /// The authorization scopes. We add this for test purpose, because the original AuthorizationScopes is private. We add this public property so that we could refer to in the test case. /// public static string[] TokenScopes => AuthorizationScopes; } diff --git a/test/CadlRanchProjects/authentication/union/src/UnionClient.cs b/test/CadlRanchProjects/authentication/union/src/UnionClient.cs index ba37856fa08..101ddbe266e 100644 --- a/test/CadlRanchProjects/authentication/union/src/UnionClient.cs +++ b/test/CadlRanchProjects/authentication/union/src/UnionClient.cs @@ -6,7 +6,7 @@ namespace Authentication.Union public partial class UnionClient { /// - /// Gets the scopes required for authentication. + /// Gets the scopes required for authentication. We add this for test purpose, because the original AuthorizationScopes is private. We add this public property so that we could refer to in the test case. /// public static string[] TokenScopes => AuthorizationScopes; }