Skip to content

Commit 500ef23

Browse files
committed
check client cert properties from appgw output
1 parent a8afd98 commit 500ef23

File tree

2 files changed

+519
-579
lines changed

2 files changed

+519
-579
lines changed

src/Network/Network.Test/ScenarioTests/ApplicationGatewayTests.ps1

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3347,11 +3347,8 @@ function Test-ApplicationGatewayCRUDWithMutualAuthentication
33473347
Assert-AreEqual $sslProfiles.TrustedClientCertificates[0].Id $trustedClient01.Id
33483348

33493349
# verify client cert properties
3350-
$trustedClient01 = Get-AzApplicationGatewayTrustedClientCertificate -Name $getgw.TrustedClientCertificates[0].Name -ApplicationGateway $getgw
3351-
Assert-AreEqual $trustedClient01.validatedCertData.Count 1
3352-
Assert-AreEqual $trustedClient01.clientCertIssuerDN.Count 1
3353-
Assert-AreEqual $getgw.TrustedClientCertificates[0].validatedCertData $trustedClient01.validatedCertData
3354-
Assert-AreEqual $getgw.TrustedClientCertificates[0].clientCertIssuerDN $trustedClient01.clientCertIssuerDN
3350+
Assert-AreEqual $getgw.TrustedClientCertificates[0].validatedCertData.Count 1
3351+
Assert-AreEqual $getgw.TrustedClientCertificates[0].clientCertIssuerDN.Count 1
33553352

33563353
$trustedClients = Get-AzApplicationGatewayTrustedClientCertificate -ApplicationGateway $getgw
33573354
Assert-AreEqual $trustedClients.Count 1

0 commit comments

Comments
 (0)