lundi 28 décembre 2015

Getting Exception on unittest from method only if test is in ordertest

This is line of code where he drop exception.

Public Sub Test()     
    ConnectionServices.clientPay.ClientCredentials.ServiceCertificate.Authentication.CertificateValidationMode = ServiceModel.Security.X509CertificateValidationMode.None

Is i play test alone, he pass, if i set him in ordertest got exception

Aucun commentaire:

Enregistrer un commentaire