Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ public async void SetupPrivateEndpointAutoApprovalTests()
{
//prepare test base
var testBase = new ApiManagementTestBase(context);
// test is done in prod preview environment
string serviceRegion = "West US 2";
testBase.location = serviceRegion;
testBase.serviceProperties.Location = serviceRegion;
testBase.serviceProperties.Sku = new ApiManagementServiceSkuProperties(SkuType.Developer, capacity: 1);

// prepare private endpoint names and ids
Expand Down Expand Up @@ -232,7 +228,7 @@ public async void SetupPrivateEndpointAutoApprovalTests()

// disable public network access for the api service and confirm the container is updated with GET
apiService.PublicNetworkAccess = "Disabled";
await testBase.client.ApiManagementService.CreateOrUpdateAsync(testBase.rgName, testBase.serviceName, apiService);
apiService = await testBase.client.ApiManagementService.CreateOrUpdateAsync(testBase.rgName, testBase.serviceName, apiService);
apiService = await testBase.client.ApiManagementService.GetAsync(testBase.rgName, testBase.serviceName);
Assert.Contains(apiService.PrivateEndpointConnections,
connection =>
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.