diff --git a/Tests/Consistency.Tests.ps1 b/Tests/Consistency.Tests.ps1 index 1c1ce6f..de20567 100644 --- a/Tests/Consistency.Tests.ps1 +++ b/Tests/Consistency.Tests.ps1 @@ -1862,7 +1862,7 @@ Describe 'Private helpers (via module scope)' { } It 'Rejects an expired key even though it uses the Inforcer 403 envelope' { - # Verbatim body from api-uk.dev with an expired key. errorCode is 'forbidden' — + # Verbatim body from a live environment with an expired key. errorCode is 'forbidden' — # identical to a scope denial — so only errors[] distinguishes the two. # Must NOT report Connected. Mock -ModuleName InforcerCommunity Invoke-WebRequest { diff --git a/module/Public/Connect-Inforcer.ps1 b/module/Public/Connect-Inforcer.ps1 index 473fd7b..9c9472c 100644 --- a/module/Public/Connect-Inforcer.ps1 +++ b/module/Public/Connect-Inforcer.ps1 @@ -189,7 +189,7 @@ if ($probeStatusCode -ge 200 -and $probeStatusCode -lt 300) { } # An expired / revoked / disabled key comes back in the SAME Inforcer app envelope as a -# scope denial — measured against api-uk.dev with an expired key, right down to +# scope denial — measured against a live environment with an expired key, right down to # errorCode 'forbidden', which a scope denial also returns: # # 403 {"data":null,"errorCode":"forbidden","success":false,