-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests | Remove hardcoded certificates from functional tests (#3034)
* Remove default .pfx file from TDS.Servers Clients requiring a server certificate will need to generate their own. * Infrastructure work - base class, project targets * TestUtilities no longer targets netstandard2.0, so is now able to use CertificateRequest. * Added a reference from Tests to TestUtilities. * Added a base CertificateFixtureBase class. This provides basic infrastructure to generate a certificate and add it to a store (with cleanup on disposal.) * Reworked SqlColumnEncryptionCertificateStoreProviderShould Removed multiple hardcoded references to three certificates. Also removed references to TestCertificate12. * Cleanup: ExceptionsCertStore This test class covered similar ground to the existing SqlColumnEncryptionCertificateStoreProviderShould test class. * Rework ExceptionsAlgorithmErrors Removes the last reference to Utility.CreateCertificate, replacing it with one which is generated dynamically. Accordingly, removes Utility.CreateCertificate. * Collection fixtures are unnecessary * Update build.proj * Running PowerShell with "runas" verb * Switched to new .NET 9.0 APIs
- Loading branch information
1 parent
85044cd
commit bb4c3b7
Showing
14 changed files
with
432 additions
and
411 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.