|
14 | 14 |
|
15 | 15 | using System.Security.Cryptography.X509Certificates;
|
16 | 16 | using Azure.ResourceManager.Network.Models;
|
17 |
| -using AzureApplicationGatewayOrchestratorExtension; |
18 | 17 | using AzureApplicationGatewayOrchestratorExtension.AppGatewayCertificateJobs;
|
19 | 18 | using AzureApplicationGatewayOrchestratorExtension.Client;
|
20 | 19 | using Keyfactor.Logging;
|
|
25 | 24 |
|
26 | 25 | namespace AzureAppGatewayOrchestrator.Tests;
|
27 | 26 |
|
28 |
| -public class AzureAppGatewayOrchestrator_AzureAppGw |
| 27 | +public class AzureAppGw |
29 | 28 | {
|
30 | 29 | ILogger _logger { get; set;}
|
31 | 30 |
|
32 |
| - public AzureAppGatewayOrchestrator_AzureAppGw() |
| 31 | + public AzureAppGw() |
33 | 32 | {
|
34 | 33 | ConfigureLogging();
|
35 | 34 |
|
36 |
| - _logger = LogHandler.GetClassLogger<AzureAppGatewayOrchestrator_AzureAppGw>(); |
| 35 | + _logger = LogHandler.GetClassLogger<AzureAppGw>(); |
37 | 36 | }
|
38 | 37 |
|
39 | 38 | [IntegrationTestingFact]
|
@@ -545,7 +544,7 @@ public void AzureAppGw_Management_IntegrationTest_ReturnSuccess()
|
545 | 544 | string certName = "GatewayTest" + Guid.NewGuid().ToString()[..6];
|
546 | 545 | string password = "password";
|
547 | 546 |
|
548 |
| - X509Certificate2 ssCert = AzureAppGatewayOrchestrator_Client.GetSelfSignedCert(testHostname); |
| 547 | + X509Certificate2 ssCert = Client.GetSelfSignedCert(testHostname); |
549 | 548 |
|
550 | 549 | string b64PfxSslCert = Convert.ToBase64String(ssCert.Export(X509ContentType.Pfx, password));
|
551 | 550 |
|
@@ -578,7 +577,7 @@ public void AzureAppGw_Management_IntegrationTest_ReturnSuccess()
|
578 | 577 |
|
579 | 578 | // Arrange
|
580 | 579 |
|
581 |
| - ssCert = AzureAppGatewayOrchestrator_Client.GetSelfSignedCert(testHostname); |
| 580 | + ssCert = Client.GetSelfSignedCert(testHostname); |
582 | 581 |
|
583 | 582 | b64PfxSslCert = Convert.ToBase64String(ssCert.Export(X509ContentType.Pfx, password));
|
584 | 583 |
|
|
0 commit comments