Skip to content

Commit 93ca6f2

Browse files
🧪 [Test]: Remove temporary masking probe after verifying secrets render as *** in logs
1 parent e5dfca3 commit 93ca6f2

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

‎tests/srcTestRepo/tests/Environment.Tests.ps1‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
# TEMP masking probe (removed after verification): deliberately emits throwaway secret values so
2-
# the run logs can be inspected to confirm they render as *** (masked).
3-
Write-Verbose ("MASKPROBE TEST_USER_PAT=[{0}] CUSTOM_TEST_ENV_VAR=[{1}]" -f $env:TEST_USER_PAT, $env:CUSTOM_TEST_ENV_VAR) -Verbose
4-
5-
Describe 'Environment Variables are available' {
1+
Describe 'Environment Variables are available' {
62
It 'Exposes [<Name>] with the caller-provided value' -ForEach @(
73
@{ Name = 'TEST_APP_ENT_CLIENT_ID'; Expected = 'tmp-ent-client-id-01' }
84
@{ Name = 'TEST_APP_ORG_CLIENT_ID'; Expected = 'tmp-org-client-id-02' }

‎tests/srcWithManifestTestRepo/tests/Environments/Environment.Tests.ps1‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
# TEMP masking probe (removed after verification): deliberately emits throwaway secret values so
2-
# the run logs can be inspected to confirm they render as *** (masked).
3-
Write-Verbose ("MASKPROBE TEST_USER_PAT=[{0}] CUSTOM_TEST_ENV_VAR=[{1}]" -f $env:TEST_USER_PAT, $env:CUSTOM_TEST_ENV_VAR) -Verbose
4-
5-
Describe 'Environment Variables are available' {
1+
Describe 'Environment Variables are available' {
62
It 'Exposes [<Name>] with the caller-provided value' -ForEach @(
73
@{ Name = 'TEST_APP_ENT_CLIENT_ID'; Expected = 'tmp-ent-client-id-01' }
84
@{ Name = 'TEST_APP_ORG_CLIENT_ID'; Expected = 'tmp-org-client-id-02' }

0 commit comments

Comments
 (0)