Skip to content

Commit

Permalink
Updated error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Microsoft Graph DevX Tooling authored and FehintolaObafemi committed Aug 28, 2024
1 parent 4ca2480 commit 2136757
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Describe 'Connect-MgGraph In Delegated Mode' {

Describe 'Connect-MgGraph In Environment Variable Mode' {
It 'Should throw exception when supported environment variables are not specified' {
{ Connect-MgGraph -EnvironmentVariable -ErrorAction Stop } | Should -Throw -ExpectedMessage "*ClientSecretCredential authentication failed*"
{ Connect-MgGraph -EnvironmentVariable -ErrorAction Stop } | Should -Throw -ExpectedMessage "*EnvironmentCredential authentication unavailable*"
}
It 'Should attempt to use configured environment variables' {
{
Expand Down

0 comments on commit 2136757

Please sign in to comment.