Skip to content

Commit

Permalink
pr-fix: add ps credential argument
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnmoreels committed Jul 12, 2024
1 parent 82e59f1 commit 847139e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/templates/smoke-tests.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BeforeAll {
$clientSecret = ConvertTo-SecureString $env:servicePrincipalKey -AsPlainText -Force
$pscredential = New-Object -TypeName System.Management.Automation.PSCredential($env:servicePrincipalId, $clientSecret)
Connect-AzAccount -ServicePrincipal -Tenant $env:tenantId -Credential
Connect-AzAccount -ServicePrincipal -Tenant $env:tenantId -Credential $pscredential
}

Describe 'Storage account' {
Expand Down

0 comments on commit 847139e

Please sign in to comment.